-
Bug
-
Resolution: Fixed
-
P4
-
18
-
b19
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8299174 | 17.0.7 | Denghui Dong | P4 | Resolved | Fixed | b01 |
JDK-8299175 | 11.0.19 | Denghui Dong | P4 | Resolved | Fixed | b01 |
$ jdeprscan -J-Duser.language=ja --help
Exception in thread "main" java.lang.IllegalArgumentException: can't parse argument number: dir|jar|class
at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1454)
at java.base/java.text.MessageFormat.applyPattern(MessageFormat.java:492)
at java.base/java.text.MessageFormat.<init>(MessageFormat.java:371)
at java.base/java.text.MessageFormat.format(MessageFormat.java:860)
at jdk.jdeps/com.sun.tools.jdeprscan.Messages.get(Messages.java:62)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.printHelp(Main.java:706)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.run(Main.java:529)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.call(Main.java:717)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.main(Main.java:725)
Caused by: java.lang.NumberFormatException: For input string: "dir|jar|class"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:668)
at java.base/java.lang.Integer.parseInt(Integer.java:786)
at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1452)
... 8 more
$ jdeprscan -J-Duser.language=zh -J-Duser.country=CN --help
Exception in thread "main" java.lang.IllegalArgumentException: can't parse argument number: dir|jar|class
at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1454)
at java.base/java.text.MessageFormat.applyPattern(MessageFormat.java:492)
at java.base/java.text.MessageFormat.<init>(MessageFormat.java:371)
at java.base/java.text.MessageFormat.format(MessageFormat.java:860)
at jdk.jdeps/com.sun.tools.jdeprscan.Messages.get(Messages.java:62)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.printHelp(Main.java:706)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.run(Main.java:529)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.call(Main.java:717)
at jdk.jdeps/com.sun.tools.jdeprscan.Main.main(Main.java:725)
Caused by: java.lang.NumberFormatException: For input string: "dir|jar|class"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:668)
at java.base/java.lang.Integer.parseInt(Integer.java:786)
at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1452)
... 8 more
Of course, it works well when the locale is anything other than those locales.
- backported by
-
JDK-8299174 jdeprscan --help causes an exception when the locale is ja, zh_CN or de
-
- Resolved
-
-
JDK-8299175 jdeprscan --help causes an exception when the locale is ja, zh_CN or de
-
- Resolved
-
- relates to
-
JDK-8280400 JDK 19 L10n resource files update - msgdrop 10
-
- Closed
-
-
JDK-8313573 JDK 21 RDP2 L10n resource files update
-
- Closed
-
- links to
-
Commit openjdk/jdk11u-dev/6a4603f8
-
Commit openjdk/jdk17u-dev/4634a653
-
Commit openjdk/jdk/ef25e189
-
Review openjdk/jdk11u-dev/1585
-
Review openjdk/jdk17u-dev/949
-
Review openjdk/jdk/8174