implement Avian_java_lang_VMClassLoader_defineClass

This commit is contained in:
Joel Dice 2009-08-04 18:27:04 -06:00
parent 93597a4d1d
commit e9ee4a618c

View File

@ -341,7 +341,7 @@ Avian_java_lang_VMRuntime_nativeLoad
extern "C" JNIEXPORT int64_t JNICALL
Avian_java_lang_Class_primitiveClass
(Thread* t, object, uintptr_t*);
(Thread*, object, uintptr_t*);
extern "C" JNIEXPORT int64_t JNICALL
Avian_java_lang_VMClassLoader_getPrimitiveClass
@ -350,6 +350,19 @@ Avian_java_lang_VMClassLoader_getPrimitiveClass
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
Avian_java_lang_System_identityHashCode
(Thread*, object, uintptr_t*);