mirror of
https://github.com/corda/corda.git
synced 2025-01-23 04:48:09 +00:00
set java.version property in Avian_gnu_classpath_VMSystemProperties_preInit; add empty Avian_java_lang_VMClassLoader_resolveClass implementation
This commit is contained in:
parent
61cb8b3deb
commit
bf48f1e297
@ -134,6 +134,7 @@ Avian_gnu_classpath_VMSystemProperties_preInit
|
||||
|
||||
PROTECT(t, method);
|
||||
|
||||
setProperty(t, method, properties, "java.version", "1.5");
|
||||
setProperty(t, method, properties, "java.specification.version", "1.5");
|
||||
|
||||
setProperty(t, method, properties, "java.vm.name", "Avian");
|
||||
@ -427,6 +428,13 @@ Avian_java_lang_VMClassLoader_loadClass
|
||||
return Avian_avian_SystemClassLoader_findClass(t, 0, args);
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT void JNICALL
|
||||
Avian_java_lang_VMClassLoader_resolveClass
|
||||
(Thread*, object, uintptr_t*)
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT int64_t JNICALL
|
||||
Avian_java_lang_VMClassLoader_findLoadedClass
|
||||
(Thread* t, object, uintptr_t* arguments)
|
||||
|
Loading…
Reference in New Issue
Block a user