implement sun.misc.Unsafe.addressSize

This commit is contained in:
Joel Dice 2011-04-09 21:19:49 -06:00
parent e1d45cf7c8
commit 6707116dd4

View File

@ -2179,6 +2179,13 @@ Avian_sun_misc_Unsafe_registerNatives
// ignore
}
extern "C" JNIEXPORT int64_t
Avian_sun_misc_Unsafe_addressSize
(Thread*, object, uintptr_t*)
{
return BytesPerWord;
}
extern "C" JNIEXPORT int64_t
Avian_sun_misc_Unsafe_defineClass__Ljava_lang_String_2_3BIILjava_lang_ClassLoader_2Ljava_security_ProtectionDomain_2
(Thread* t, object, uintptr_t* arguments)