JEP proposed to target JDK 24: 472: Prepare to Restrict the Use of JNI
Mark Reinhold
mark.reinhold at oracle.com
Tue Jul 16 12:52:07 UTC 2024
2024/7/8 15:32:50 -0400, mark.reinhold at oracle.com:
> The following JEP is 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.
>
> Feedback on this proposal from JDK Project Committers and Reviewers [1]
> is more than welcome, as are reasoned objections. If no such objections
> are raised by 23:59 UTC on Monday, 15 July, or if they’re raised and
> then satisfactorily answered, then per the JEP 2.0 process proposal [2]
> I’ll target this JEP to JDK 24.
Hearing no objections, I’ve targeted this JEP to JDK 24.
- Mark
More information about the jdk-dev
mailing list