Integrated: 8286176: Add JNI_VERSION_19 to jni.h and JNI spec

Alan Bateman alanb at openjdk.org
Fri Jun 17 06:00:06 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.

This pull request has now been integrated.

Changeset: 53bf1bfd
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk19/commit/53bf1bfdabb79b37afedd09051d057f9eea620f2
Stats:     16 lines in 10 files changed: 2 ins; 0 del; 14 mod

8286176: Add JNI_VERSION_19 to jni.h and JNI spec

Reviewed-by: dcubed, iris, mchung, dholmes

-------------

PR: https://git.openjdk.org/jdk19/pull/7


More information about the core-libs-dev mailing list