mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
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:
parent
42a29333b9
commit
4c1297b778
8 changed files with 27 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue