Skip to content

Commit accb9ef

Browse files
committed
Work-around polyglot dep issue
1 parent c8fc90c commit accb9ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/mx.sdk/mx_sdk_vm_impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,11 +2179,11 @@ def _get_extra_jvm_args():
21792179
if not _jlink_libraries():
21802180
if mx.is_windows():
21812181
extra_jvm_args = ' '.join([extra_jvm_args, r'--upgrade-module-path "%location%\..\..\jvmci\graal.jar"',
2182-
r'--add-modules org.graalvm.polyglot',
2182+
r'--add-modules ALL-DEFAULT',
21832183
r'--module-path "%location%\..\..\truffle\truffle-api.jar:%location%\..\..\jvmci\polyglot.jar"'])
21842184
else:
21852185
extra_jvm_args = ' '.join([extra_jvm_args, '--upgrade-module-path "${location}/../../jvmci/graal.jar"',
2186-
'--add-modules org.graalvm.polyglot',
2186+
'--add-modules ALL-DEFAULT',
21872187
'--module-path "${location}/../../truffle/truffle-api.jar:${location}/../../jvmci/polyglot.jar"'])
21882188
return extra_jvm_args
21892189

0 commit comments

Comments
 (0)