JNI VERSION CHANGE: RFR: 8145098: JNI GetVersion should return JNI_VERSION_9
iris.clark at oracle.com
Fri Feb 19 03:11:05 UTC 2016
Hi, Alan and Rachel.
Here's a proposal for the new text for JEP 223:
[ insert between existing sections "@since..." and "Mercurial..."]
The [JNI Specification][JNISpec] defines a constant representing the JNI version number. The constant will drop the initial "1" and truncate trailing zeros. Thus, for JDK 9, the constant will be 'JNI_VERSION_9'.
What bugid should be used for this CCC request? What is the procedure for updating the JNI Spec itself?
From: Alan Bateman
Sent: Wednesday, February 17, 2016 11:49 PM
To: Rachel Protacio; hotspot-runtime-dev at openjdk.java.net; core-libs-dev at openjdk.java.net; Iris Clark
Subject: Re: JNI VERSION CHANGE: RFR: 8145098: JNI GetVersion should return JNI_VERSION_9
On 17/02/2016 21:21, Rachel Protacio wrote:
> Hello, everyone,
> We are moving forward with "JNI_VERSION_9". If it later turns out that
> it should be "9_0", we will file a separate bug, but the plain 9 is
> most likely. There is currently a compatibility request in the
> approval process.
> Here is the updated code, which builds properly and still prints the
> correct version from my own private test.
> hotspot repo webrev:
> jdk repo webrev: http://cr.openjdk.java.net/~rprotacio/JNI_jdk.01/
This looks good to me.
Iris - I assume you'll add a section to JEP 223 for this, it seems like the right place to capture this.
More information about the hotspot-runtime-dev