New candidate JEP: 472: Prepare to Restrict the Use of JNI

Mark Reinhold mark.reinhold at oracle.com
Fri May 3 15:11:45 UTC 2024


https://openjdk.org/jeps/472

  Summary: 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.

- Mark


More information about the jdk-dev mailing list