Skip to content

Allow native access in JDK 25#410

Open
wfouche wants to merge 1 commit intojython:masterfrom
wfouche:dev/enable-native-access
Open

Allow native access in JDK 25#410
wfouche wants to merge 1 commit intojython:masterfrom
wfouche:dev/enable-native-access

Conversation

@wfouche
Copy link
Member

@wfouche wfouche commented Dec 20, 2025

The following warning is no longer displayed.

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.kenai.jffi.internal.StubLoader in an unnamed module (file:/home/wfouche/.m2/repository/com/github/jnr/jffi/1.3.13/jffi-1.3.13.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

To be considered for inclusion in Jython 2.7.5

@wfouche
Copy link
Member Author

wfouche commented Dec 20, 2025

@jeff5 , please review this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments