8188052: JNI FindClass needs to specify the class loading context used for library lifecycle hooks

Reviewed-by: alanb, coleenp, dholmes
This commit is contained in:
Mandy Chung 2017-10-10 11:52:42 -07:00
parent 42a29333b9
commit 4c1297b778
8 changed files with 27 additions and 20 deletions

View file

@ -4195,6 +4195,7 @@ jboolean Threads::is_supported_jni_version(jint version) {
if (version == JNI_VERSION_1_6) return JNI_TRUE;
if (version == JNI_VERSION_1_8) return JNI_TRUE;
if (version == JNI_VERSION_9) return JNI_TRUE;
if (version == JNI_VERSION_10) return JNI_TRUE;
return JNI_FALSE;
}