Skip to content

Commit 80dd9ef

Browse files
committed
No need for --enable-native-access=org.graalvm.shadowed.jline for polyglot launcher
1 parent 29c9c1e commit 80dd9ef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sdk/mx.sdk/mx_sdk_vm_impl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ def svm_experimental_options(experimental_options):
126126
'--features=org.graalvm.launcher.PolyglotLauncherFeature',
127127
'--tool:all',
128128
] + svm_experimental_options(['-H:-ParseRuntimeOptions']),
129-
extra_jvm_args=[
130-
'--enable-native-access=org.graalvm.shadowed.jline',
131-
],
129+
# No need to pass --enable-native-access=org.graalvm.shadowed.jline, because the polyglot bash launcher
130+
# script adds JLine to class-path, not module-path, so we do not need to enable native access
132131
is_main_launcher=True,
133132
default_symlinks=True,
134133
is_sdk_launcher=True,

0 commit comments

Comments
 (0)