8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs

Reviewed-by: dlong, alanb, mduigou
This commit is contained in:
Bill Pittore 2013-03-15 15:20:40 -04:00
parent 0f54c50638
commit f5f5775dc3
3 changed files with 5 additions and 3 deletions

View file

@ -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;
}