mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
Reviewed-by: dlong, alanb, mduigou
This commit is contained in:
parent
0f54c50638
commit
f5f5775dc3
3 changed files with 5 additions and 3 deletions
|
@ -4061,6 +4061,7 @@ jboolean Threads::is_supported_jni_version(jint version) {
|
|||
if (version == JNI_VERSION_1_2) return JNI_TRUE;
|
||||
if (version == JNI_VERSION_1_4) return JNI_TRUE;
|
||||
if (version == JNI_VERSION_1_6) return JNI_TRUE;
|
||||
if (version == JNI_VERSION_1_8) return JNI_TRUE;
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue