JDK-8331671 : Implement JEP 472: Prepare to Restrict the Use of JNI
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang.foreign
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-05-03
  • Updated: 2024-10-03
  • Resolved: 2024-08-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b13Fixed
Related Reports
Blocks :  
CSR :  
Relates :  
Relates :  
Description
Issue warnings about uses of the Java Native Interface (JNI). These warnings aim to prepare developers for a future release that restricts the use of JNI by default in order to improve integrity by default. The warnings issued in this release, and the exceptions thrown in that future release, can be avoided by selectively enabling native access. Adjust the Foreign Function & Memory API (JEP 454) to issue warnings in a consistent manner.
Comments
Changeset: 20d8f58c Branch: master Author: Maurizio Cimadamore <mcimadamore@openjdk.org> Date: 2024-08-26 09:17:45 +0000 URL: https://git.openjdk.org/jdk/commit/20d8f58c92009a46dfb91b951e7d87b4cb8e8b41
26-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/19213 Date: 2024-05-13 10:42:26 +0000
09-07-2024