RFR: 8171522: Jar prints error message with old (non gnu-style options).
Henry Jen
henry.jen at oracle.com
Thu Feb 2 18:58:41 UTC 2017
Hi,
Please review a trivial patch for JDK-8171522, basically we just add two missing main operations into the message. This message is appropriate for both compatible style or new gnu style.
Cheers,
Henry
diff -r 0e2935453091 src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties
--- a/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties Wed Feb 01 11:05:33 2017 -0800
+++ b/src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties Thu Feb 02 10:48:11 2017 -0800
@@ -36,7 +36,7 @@
error.bad.file.arg=\
Error parsing file arguments
error.bad.option=\
- One of options -{ctxu} must be specified.
+ One of the option -{ctxuid} must be specified.
error.bad.cflag=\
'c' flag requires manifest or input files to be specified!
error.bad.uflag=\
More information about the core-libs-dev
mailing list