Permalink
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...
1 parent 4777d1b commit 13d128c7bebebd6fd508f6fc93d675dc659da5f9 @dicej dicej committed Mar 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 13d128c

Please sign in to comment.