mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8145098: JNI GetVersion should return JNI_VERSION_9
Updated JNI_VERSION for current version to be JNI_VERSION_9 Reviewed-by: hseigel, gtriantafill, dholmes, alanb
This commit is contained in:
parent
b437ee835e
commit
b7658ef0b7
4 changed files with 7 additions and 5 deletions
|
@ -4133,6 +4133,7 @@ jboolean Threads::is_supported_jni_version(jint version) {
|
|||
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;
|
||||
if (version == JNI_VERSION_9) return JNI_TRUE;
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue