diff -r 292a4a87c321 -r 52b866a1a63a src/java.base/share/classes/sun/launcher/resources/launcher.properties --- a/src/java.base/share/classes/sun/launcher/resources/launcher.properties Tue Jun 12 18:51:45 2018 -0400 +++ b/src/java.base/share/classes/sun/launcher/resources/launcher.properties Tue Jun 12 18:53:38 2018 -0400 @@ -25,13 +25,17 @@ # Translators please note do not translate the options themselves java.launcher.opt.header = Usage: {0} [options] [args...]\n\ -\ (to execute a class)\n or {0} [options] -jar [args...]\n\ +\ (to execute a class)\n\ +\ or {0} [options] -jar [args...]\n\ \ (to execute a jar file)\n\ \ or {0} [options] -m [/] [args...]\n\ \ {0} [options] --module [/] [args...]\n\ -\ (to execute the main class in a module)\n\n\ -\ Arguments following the main class, -jar , -m or --module\n\ -\ / are passed as the arguments to main class.\n\n\ +\ (to execute the main class in a module)\n\ +\ or {0} [options] [args]\n\ +\ (to execute a single source-file program)\n\n\ +\ Arguments following the main class, source file, -jar ,\n\ +\ -m or --module / are passed as the arguments to\n\ +\ main class.\n\n\ \ where options include:\n\n java.launcher.opt.vmselect =\ {0}\t to select the "{1}" VM\n @@ -114,7 +118,7 @@ \ -disable-@files\n\ \ prevent further argument file expansion\n\ \ --enable-preview\n\ -\ allow classes to depend on preview features of this release +\ allow classes to depend on preview features of this release\n\ \To specify an argument for a long option, you can use --= or\n\ \-- .\n @@ -180,7 +184,9 @@ \ --patch-module =({0})*\n\ \ override or augment a module with classes and resources\n\ \ in JAR files or directories.\n\ -\ --disable-@files disable further argument file expansion\n\n\ +\ --disable-@files disable further argument file expansion\n\ +\ --source \n\ +\ set the version of the source in source-file mode.\n\n\ These extra options are subject to change without notice.\n # Translators please note do not translate the options themselves