Skip to content

Comments

Update instructions to use 0.1.5 and use --enable-native-access=ALL-UNNAMED to avoid warnings.#231

Open
jordibc wants to merge 1 commit intobhauman:masterfrom
jordibc:master
Open

Update instructions to use 0.1.5 and use --enable-native-access=ALL-UNNAMED to avoid warnings.#231
jordibc wants to merge 1 commit intobhauman:masterfrom
jordibc:master

Conversation

@jordibc
Copy link

@jordibc jordibc commented Jan 25, 2026

This commit updates all references of version 0.1.4 to 0.1.5, and adds to the JVM options the following:

  --enable-native-access=ALL-UNNAMED

Otherwise, when running we would get the following warning:

  WARNING: A restricted method in java.lang.System has been called
  WARNING: java.lang.System::load has been called by org.jline.nativ.JLineNativeLoader in an unnamed module (file:[...]/jline-3.30.6.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

This is related to this issue with jline 3 "WARNING: A restricted method in java.lang.System has been called
(JDK24) #1067
".

…NNAMED to avoid warnings.

This commit updates all references to version 0.1.4 to 0.1.5, and adds
to the JVM options the following:

  --enable-native-access=ALL-UNNAMED

Otherwise, when running we would get the following warning:

  WARNING: A restricted method in java.lang.System has been called
  WARNING: java.lang.System::load has been called by org.jline.nativ.JLineNativeLoader in an unnamed module (file:[...]/jline-3.30.6.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

This is related to this issue with jline 3 "[WARNING: A restricted
method in java.lang.System has been called
(JDK24) #1067](jline/jline3#1067)".
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