-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JEP 472: Prepare to Restrict the Use of JNI #19680
Labels
Milestone
Comments
ChengJin01
added
comp:vm
project:panama
Used to track Project Panama related work
labels
Jun 11, 2024
The JEP is still in the |
|
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 4, 2024
After reading the last --illegal-native-access=<VALUE> option, the system property jdk.module.illegal.native.access is assigned the specified <VALUE>. Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 4, 2024
After reading the last --illegal-native-access=<VALUE> option, the system property jdk.module.illegal.native.access is assigned the specified <VALUE>. Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 9, 2024
Add native access checks in System.load/loadLibrary to comply with JEP472 (Prepare to Restrict the Use of JNI). Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 9, 2024
Add native access checks in System.load/loadLibrary to comply with JEP472 (Prepare to Restrict the Use of JNI). Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 16, 2024
A new version of ClassLoader.findNative has been introduced, which accepts the Java method name and the Java class where the native method is declared as input parameters. It performs native access checks to comply with JEP 472 (Prepare to Restrict the Use of JNI). Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/openj9
that referenced
this issue
Dec 16, 2024
A new version of ClassLoader.findNative has been introduced, which accepts the Java method name and the Java class where the native method is declared as input parameters. It performs native access checks to comply with JEP 472 (Prepare to Restrict the Use of JNI). Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
tajila
pushed a commit
to tajila/openj9
that referenced
this issue
Jan 3, 2025
After reading the last --illegal-native-access=<VALUE> option, the system property jdk.module.illegal.native.access is assigned the specified <VALUE>. Related: eclipse-openj9#19680 Related: eclipse-openj9#20354 Signed-off-by: Babneet Singh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary (from https://openjdk.org/jeps/472)
Issue warnings about uses of the Java Native Interface (JNI) and adjust warnings from the Foreign Function & Memory (FFM) API to be consistent with JNI. All such warnings aim to prepare developers for a future release that provides integrity by default by uniformly restricting JNI and the FFM API. Application developers can avoid current warnings and future restrictions by selectively enabling the interaction of Java and native code where it is critical to the application.
Goals
FYI: @tajila, @pshipton
The text was updated successfully, but these errors were encountered: