jdk/make/launcher/Launcher-java.scripting.gmk
changeset 40261 86a49ba76f52
parent 37779 7c84df693837
child 41472 ca054ba21d38
--- a/jdk/make/launcher/Launcher-java.scripting.gmk	Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/make/launcher/Launcher-java.scripting.gmk	Wed Aug 10 15:51:25 2016 -0700
@@ -27,5 +27,5 @@
 
 $(eval $(call SetupBuildLauncher, jrunscript, \
     MAIN_CLASS := com.sun.tools.script.shell.Main, \
-    JAVA_ARGS := -addmods ALL-DEFAULT, \
+    JAVA_ARGS := --add-modules ALL-DEFAULT, \
 ))