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.
This commit is contained in:
Joel Dice 2013-03-29 14:09:43 -06:00
parent 4777d1b6be
commit 13d128c7be

View File

@ -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);