jdk/make/launcher/Launcher-java.desktop.gmk
changeset 40261 86a49ba76f52
parent 37779 7c84df693837
child 41132 2a3c61e80af0
--- a/jdk/make/launcher/Launcher-java.desktop.gmk	Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/make/launcher/Launcher-java.desktop.gmk	Wed Aug 10 15:51:25 2016 -0700
@@ -31,7 +31,7 @@
 ifndef BUILD_HEADLESS_ONLY
   $(eval $(call SetupBuildLauncher, appletviewer, \
       MAIN_CLASS := sun.applet.Main, \
-      JAVA_ARGS := -addmods ALL-DEFAULT, \
+      JAVA_ARGS := --add-modules ALL-DEFAULT, \
       LIBS_unix := $(X_LIBS), \
   ))
 endif