Summary
Update the Java Native Interface (JNI) spec to define JNI_VERSION_19
and change the JNI function GetVersion
to return this version.
Problem
JNI is updated in Java 19 to define a new function IsVirtualThread
. The JNI function GetVersion
needs to be updated to return a version for the updated native interface.
Solution
Update the JNI spec to define the constant
JNI_VERSION_19
.Update the function
GetVersion
to specify that it returnsJNI_VERSION_19
.Update the table of the JNI version "included" in each release Java SE 11 to 19.
Specification
A zip file with the diffs is attached. The changes are limited to the "Version Information" section:
The "Version Constants" sub-section is updated to define
JNI_VERSION_19
with the value0x00130000
.The function
GetVersion
is changed to returnJNI_VERSION_19
and the table of the JNI version included in each release is also updated.
- csr of
-
JDK-8286176 Add JNI_VERSION_19 to jni.h and JNI spec
-
- Resolved
-