--- old/src/jdk.jpackage/share/classes/jdk/jpackage/internal/AddLauncherArguments.java 2019-05-28 16:24:02.368246500 -0400 +++ new/src/jdk.jpackage/share/classes/jdk/jpackage/internal/AddLauncherArguments.java 2019-05-28 16:24:00.106217500 -0400 @@ -51,7 +51,6 @@ * * appVersion * module - * add-modules * main-jar * main-class * icon @@ -105,10 +104,6 @@ getOptionValue(CLIOptions.VERSION)); putUnlessNull(bundleParams, - CLIOptions.ADD_MODULES.getId(), - getOptionValue(CLIOptions.ADD_MODULES)); - - putUnlessNull(bundleParams, CLIOptions.WIN_CONSOLE_HINT.getId(), getOptionValue(CLIOptions.WIN_CONSOLE_HINT)); @@ -176,9 +171,6 @@ tmp.remove("main-class"); } else if (additional.containsKey("main-jar")) { tmp.remove("module"); - // should we only remove add-modules when it wasn't actually passed - // but was inferred or empty ? - tmp.remove("add-modules"); } tmp.putAll(additional); return tmp; --- old/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties 2019-05-28 16:24:18.764056700 -0400 +++ new/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties 2019-05-28 16:24:15.254011700 -0400 @@ -128,7 +128,7 @@ \ Name of launcher, and a path to a Properties file that contains\n\ \ a list of key, value pairs\n\ \ (absolute path or relative to the current directory)\n\ -\ The keys "module", "add-modules", "main-jar", "main-class",\n\ +\ The keys "module", "main-jar", "main-class",\n\ \ "arguments", "java-options", "app-version", "icon", and\n\ \ "win-console" can be used.\n\ \ These options are added to, or used to overwrite, the original\n\ --- old/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties 2019-05-28 16:25:03.334828200 -0400 +++ new/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties 2019-05-28 16:25:01.353602800 -0400 @@ -128,7 +128,7 @@ \ Name of launcher, and a path to a Properties file that contains\n\ \ a list of key, value pairs\n\ \ (absolute path or relative to the current directory)\n\ -\ The keys "module", "add-modules", "main-jar", "main-class",\n\ +\ The keys "module", "main-jar", "main-class",\n\ \ "arguments", "java-options", "app-version", "icon", and\n\ \ "win-console" can be used.\n\ \ These options are added to, or used to overwrite, the original\n\ --- old/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties 2019-05-28 16:25:17.484209600 -0400 +++ new/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties 2019-05-28 16:25:15.565385000 -0400 @@ -128,7 +128,7 @@ \ Name of launcher, and a path to a Properties file that contains\n\ \ a list of key, value pairs\n\ \ (absolute path or relative to the current directory)\n\ -\ The keys "module", "add-modules", "main-jar", "main-class",\n\ +\ The keys "module", "main-jar", "main-class",\n\ \ "arguments", "java-options", "app-version", "icon", and\n\ \ "win-console" can be used.\n\ \ These options are added to, or used to overwrite, the original\n\