mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
implement Avian_java_lang_VMClassLoader_defineClass
This commit is contained in:
parent
93597a4d1d
commit
e9ee4a618c
15
src/gnu.cpp
15
src/gnu.cpp
@ -341,7 +341,7 @@ Avian_java_lang_VMRuntime_nativeLoad
|
|||||||
|
|
||||||
extern "C" JNIEXPORT int64_t JNICALL
|
extern "C" JNIEXPORT int64_t JNICALL
|
||||||
Avian_java_lang_Class_primitiveClass
|
Avian_java_lang_Class_primitiveClass
|
||||||
(Thread* t, object, uintptr_t*);
|
(Thread*, object, uintptr_t*);
|
||||||
|
|
||||||
extern "C" JNIEXPORT int64_t JNICALL
|
extern "C" JNIEXPORT int64_t JNICALL
|
||||||
Avian_java_lang_VMClassLoader_getPrimitiveClass
|
Avian_java_lang_VMClassLoader_getPrimitiveClass
|
||||||
@ -350,6 +350,19 @@ Avian_java_lang_VMClassLoader_getPrimitiveClass
|
|||||||
return Avian_java_lang_Class_primitiveClass(t, 0, arguments);
|
return Avian_java_lang_Class_primitiveClass(t, 0, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" JNIEXPORT int64_t JNICALL
|
||||||
|
Avian_java_lang_ClassLoader_defineClass
|
||||||
|
(Thread*, object, uintptr_t*);
|
||||||
|
|
||||||
|
extern "C" JNIEXPORT int64_t JNICALL
|
||||||
|
Avian_java_lang_VMClassLoader_defineClass
|
||||||
|
(Thread* t, object, uintptr_t* arguments)
|
||||||
|
{
|
||||||
|
uintptr_t args[] = { arguments[2], arguments[3], arguments[4] };
|
||||||
|
|
||||||
|
return Avian_java_lang_ClassLoader_defineClass(t, 0, args);
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" JNIEXPORT int64_t JNICALL
|
extern "C" JNIEXPORT int64_t JNICALL
|
||||||
Avian_java_lang_System_identityHashCode
|
Avian_java_lang_System_identityHashCode
|
||||||
(Thread*, object, uintptr_t*);
|
(Thread*, object, uintptr_t*);
|
||||||
|
Loading…
Reference in New Issue
Block a user