-
Bug
-
Resolution: Fixed
-
P4
-
9
-
None
-
Verified
key=java.launcher.opt.header in jdk/src/java.base/share/classes/sun/launcher/resources/launcher_*.properties
The original value in launcher.properties is
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 <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
\ (to execute the main class in a module)\n\
where options include:\n
In launcher_ja.properties,
+java.launcher.opt.header = 使用方法: {0} [-options] class [args...]\n (クラスを実行する場合)\n または {0} [-options] -jar jarfile [args...]\n (jarファイルを実行する場合)\n または {0} [-options] -mp <modulepath> -m <modulename> | <modulename>/<mainclass>\n (モジュールのメイン・クラスを実行する場合)\noptionsには次のものがあります。\n
Expected:
no char '-' for in "[options] class [args...]"
The original value in launcher.properties is
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 <modulepath> -m <modulename>[/<mainclass>] [args...]\n\
\ (to execute the main class in a module)\n\
where options include:\n
In launcher_ja.properties,
+java.launcher.opt.header = 使用方法: {0} [-options] class [args...]\n (クラスを実行する場合)\n または {0} [-options] -jar jarfile [args...]\n (jarファイルを実行する場合)\n または {0} [-options] -mp <modulepath> -m <modulename> | <modulename>/<mainclass>\n (モジュールのメイン・クラスを実行する場合)\noptionsには次のものがあります。\n
Expected:
no char '-' for in "[options] class [args...]"