RFR: 8286176: Add JNI_VERSION_19 to jni.h and JNI spec
David Holmes
dholmes at openjdk.java.net
Tue Jun 14 12:23:02 UTC 2022
On Sat, 11 Jun 2022 15:42:34 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> JNI is updated in Java 19 so we need to define JNI_VERSION_19 and change GetVersion to return this version.
>
> test/hotspot/jtreg/native_sanity/JniVersion.java is updated to check that JNI_VERSION_19 is returned. The native library in the JMX agent, and several tests, define JNI_OnLoad that return JNI_VERSION_10 as the JNI version needed. These are updated to return JNI_VERSION_19 although these updates aren't strictly needed.
@AlanBateman sorry I missed your statement "although these updates aren't strictly needed".
-------------
PR: https://git.openjdk.org/jdk19/pull/7
More information about the core-libs-dev
mailing list