Skip to content

Build: Fix tests on Java >= 24 - #3080

Open
WhoBrokeTheBuild wants to merge 1 commit into
MDSplus:alphafrom
WhoBrokeTheBuild:slw-fix-java-24-native-tests
Open

Build: Fix tests on Java >= 24#3080
WhoBrokeTheBuild wants to merge 1 commit into
MDSplus:alphafrom
WhoBrokeTheBuild:slw-fix-java-24-native-tests

Conversation

@WhoBrokeTheBuild

@WhoBrokeTheBuild WhoBrokeTheBuild commented Aug 11, 2026

Copy link
Copy Markdown
Member

Add new command line option for running tests with Java >= 24 that allows system functions in native modules

This should fix the failing tests for Ubuntu 24.04

WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::loadLibrary has been called by MDSplus.Tree in an unnamed module (file:/mdsplus/workspace/build/java/mdsobjects/mdsobjects.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

Add new command line option for running tests with Java >= 24 that allows system functions in native modules
@WhoBrokeTheBuild WhoBrokeTheBuild self-assigned this Aug 11, 2026
@WhoBrokeTheBuild WhoBrokeTheBuild added build Relates to the build system test This is a need for, or an addition to the tests api/java Relates to one of the Java APIs labels Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api/java Relates to one of the Java APIs build Relates to the build system test This is a need for, or an addition to the tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant