--- old/jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties 2016-08-07 17:45:18.000000000 -0700 +++ new/jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties 2016-08-07 17:45:17.000000000 -0700 @@ -27,7 +27,7 @@ java.launcher.opt.header = Usage: {0} [options] class [args...]\n\ \ (to execute a class)\n or {0} [options] -jar jarfile [args...]\n\ \ (to execute a jar file)\n\ -\ or {0} [options] -mp -m [/] [args...]\n\ +\ or {0} [options] -p -m [/] [args...]\n\ \ (to execute the main class in a module)\n\ where options include:\n @@ -41,24 +41,28 @@ # Translators please note do not translate the options themselves java.launcher.opt.footer =\ -cp \n\ \ -classpath \n\ +\ --class-path \n\ \ A {0} separated list of directories, JAR archives,\n\ \ and ZIP archives to search for class files.\n\ -\ -mp \n\ -\ -modulepath ...\n\ +\ -p \n\ +\ --module-path ...\n\ \ A {0} separated list of directories, each directory\n\ \ is a directory of modules.\n\ -\ -upgrademodulepath ...\n\ +\ --upgrade-module-path ...\n\ \ A {0} separated list of directories, each directory\n\ \ is a directory of modules that replace upgradeable\n\ \ modules in the runtime image\n\ -\ -m [/]\n\ +\ -m [/]\n\ +\ --module [/]\n\ \ the initial module to resolve, and the name of the main class\n\ \ to execute if not specified by the module\n\ -\ -addmods [,...]\n\ -\ root modules to resolve in addition to the initial module\n\ -\ -limitmods [,...]\n\ +\ --add-modules [,...]\n\ +\ root modules to resolve in addition to the initial module.\n\ +\ can also be ALL-DEFAULT, ALL-SYSTEM,\n\ +\ ALL-MODULE-PATH.\n\ +\ --limit-modules [,...]\n\ \ limit the universe of observable modules\n\ -\ -listmods[:[,...]]\n\ +\ --list-modules [[,...]]\n\ \ list the observable modules and exit\n\ \ --dry-run create VM but do not execute main method.\n\ \ This --dry-run option may be useful for validating the\n\ @@ -69,7 +73,8 @@ \ enable verbose output\n\ \ -version print product version and exit\n\ \ -showversion print product version and continue\n\ -\ -? -help print this help message\n\ +\ -? -help --help\n\ +\ print this help message\n\ \ -X print help on non-standard options\n\ \ -ea[:...|:]\n\ \ -enableassertions[:...|:]\n\ @@ -91,6 +96,8 @@ \ -splash:\n\ \ show splash screen with specified image\n\ \ @ read options from the specified file\n\ +\To specify an argument for a long option, you can use --= or\n\ +\-- .\n\ See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details. @@ -123,17 +130,23 @@ \ show all property settings and continue\n\ \ -XshowSettings:locale\n\ \ show all locale related settings and continue\n\ -\ -XaddReads:=(,)*\n\ -\ reads other modules,\n\ -\ regardless of module declaration\n\ -\ -XaddExports:/=(,)*\n\ -\ exports to other modules,\n\ -\ regardless of module declaration\n\ -\ -Xpatch:=({0})*\n\ +\ -Xdisable-@files disable further argument file expansion\n\ +\ --add-reads =(,)*\n\ +\ updates to read , regardless\n\ +\ of module declaration. \n\ +\ can be ALL-UNNAMED to read all unnamed\n\ +\ modules. This option can be specified more than once.\n\ +\ --add-exports /=(,)*\n\ +\ updates to export to ,\n\ +\ regardless of module declaration.\n\ +\ can be ALL-UNNAMED to export to all\n\ +\ unnamed modules. This option can be specified more than\n\ +\ once.\n\ +\ --patch-module =({0})*\n\ \ Override or augment a module with classes and resources\n\ -\ in JAR files or directories\n\ -\ -Xdisable-@files disable further argument file expansion\n\n\ -The -X options are non-standard and subject to change without notice.\n +\ in JAR files or directories. This option can be\n\ +\ specified more than once.\n\n\ +These options are non-standard and subject to change without notice.\n # Translators please note do not translate the options themselves java.launcher.X.macosx.usage=\