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
Open
Update instructions to use 0.1.5 and use --enable-native-access=ALL-UNNAMED to avoid warnings.#231jordibc wants to merge 1 commit intobhauman:masterfrom
jordibc wants to merge 1 commit intobhauman:masterfrom
Conversation
…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)".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit updates all references of version 0.1.4 to 0.1.5, and adds to the JVM options the following:
Otherwise, when running we would get the following warning:
This is related to this issue with jline 3 "WARNING: A restricted method in java.lang.System has been called
(JDK24) #1067".