mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
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:
parent
4777d1b6be
commit
13d128c7be
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user