Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

look for DirectByteBuffer, not ReadWriteDirectByteBuffer

The name of the class we need to use in makeDirectByteBuffer has
changed in Android's libcore, so now we use the new name.
  • Loading branch information...
commit 13d128c7bebebd6fd508f6fc93d675dc659da5f9 1 parent 4777d1b
@dicej dicej authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/classpath-android.cpp
View
2  src/classpath-android.cpp
@@ -431,7 +431,7 @@ class MyClasspath : public Classpath {
makeDirectByteBuffer(Thread* t, void* p, jlong capacity)
{
object c = resolveClass
- (t, root(t, Machine::BootLoader), "java/nio/ReadWriteDirectByteBuffer");
+ (t, root(t, Machine::BootLoader), "java/nio/DirectByteBuffer");
PROTECT(t, c);
object instance = makeNew(t, c);
Please sign in to comment.
Something went wrong with that request. Please try again.