set java.version property in Avian_gnu_classpath_VMSystemProperties_preInit; add empty Avian_java_lang_VMClassLoader_resolveClass implementation

This commit is contained in:
Joel Dice 2009-08-12 19:34:34 -06:00
parent 61cb8b3deb
commit bf48f1e297

View File

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