JSR 399 (Java SE 24): JEP Proposed to Target: 472: Prepare to Restrict the Use of JNI

Iris Clark iris.clark at oracle.com
Tue Jul 9 15:26:00 UTC 2024


The following JEP with scope "SE" has been proposed to target JDK 24:

  472: Prepare to Restrict the Use of JNI
       https://openjdk.org/jeps/472

  Summary: Issue warnings about uses of the Java Native Interface (JNI)
  and adjust the Foreign Function & Memory (FFM) API to issue warnings
  in a consistent manner.  All such warnings aim to prepare developers
  for a future release that ensures integrity by default by uniformly
  restricting JNI and the FFM API.  Application developers can avoid both
  current warnings and future restrictions by selectively enabling these
  interfaces where essential.

The announced deadline for feedback to jdk-dev is Mon 15 Jul 23:59 UTC:

    https://mail.openjdk.org/pipermail/jdk-dev/2024-July/009222.html

If there are no unresolved objections at that time, then the JEP will be moved
to the Targeted state, indicating that the feature is expected to appear in
the specified release of the JDK Project.  For more information about states,
see the JEP Process document:

    https://openjdk.org/jeps/1

A dashboard that lists JEPs with "SE" scope may be found via a link on this
page:

    https://openjdk.org/projects/jdk/24/spec/

Thanks,
Iris


More information about the java-se-spec-observers mailing list