-
Bug
-
Resolution: Fixed
-
P3
-
8u40, 9
-
b140
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278844 | openjdk8u332 | Mandy Chung | P3 | Resolved | Fixed | b01 |
JDK-8281143 | na | Mandy Chung | P3 | Closed | Duplicate |
FULL PRODUCT VERSION :
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+138)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+138, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
A translation is missing in class "com.sun.tools.jdeps.resources.jdeps" and probably also in the localized versions.
The same bug was reproducible with jdk1.8.0_92_x64 on the same platform (windows 7 x64).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run jdeps.exe with an invalid jar file (how can I upload a testfile here?).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Normal jdeps output.
ACTUAL -
An exception is thrown.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "main" java.lang.InternalError: Missing message: warn.skipped.entry
at com.sun.tools.jdeps.JdepsTask.getMessage(jdk.jdeps@9-ea/JdepsTask.java:830)
at com.sun.tools.jdeps.JdepsTask.warning(jdk.jdeps@9-ea/JdepsTask.java:794)
at com.sun.tools.jdeps.JdepsTask.lambda$analyzeDeps$4(jdk.jdeps@9-ea/JdepsTask.java:610)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(java.base@9-ea/ArrayList.java:1477)
at java.util.stream.ReferencePipeline$Head.forEach(java.base@9-ea/ReferencePipeline.java:591)
at com.sun.tools.jdeps.JdepsTask.lambda$analyzeDeps$5(jdk.jdeps@9-ea/JdepsTask.java:610)
at java.lang.Iterable.forEach(java.base@9-ea/Iterable.java:75)
at com.sun.tools.jdeps.JdepsTask.analyzeDeps(jdk.jdeps@9-ea/JdepsTask.java:608)
at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-ea/JdepsTask.java:544)
at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-ea/JdepsTask.java:488)
at com.sun.tools.jdeps.Main.main(jdk.jdeps@9-ea/Main.java:48)
REPRODUCIBILITY :
This bug can be reproduced always.
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+138)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+138, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
A translation is missing in class "com.sun.tools.jdeps.resources.jdeps" and probably also in the localized versions.
The same bug was reproducible with jdk1.8.0_92_x64 on the same platform (windows 7 x64).
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run jdeps.exe with an invalid jar file (how can I upload a testfile here?).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Normal jdeps output.
ACTUAL -
An exception is thrown.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Exception in thread "main" java.lang.InternalError: Missing message: warn.skipped.entry
at com.sun.tools.jdeps.JdepsTask.getMessage(jdk.jdeps@9-ea/JdepsTask.java:830)
at com.sun.tools.jdeps.JdepsTask.warning(jdk.jdeps@9-ea/JdepsTask.java:794)
at com.sun.tools.jdeps.JdepsTask.lambda$analyzeDeps$4(jdk.jdeps@9-ea/JdepsTask.java:610)
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(java.base@9-ea/ArrayList.java:1477)
at java.util.stream.ReferencePipeline$Head.forEach(java.base@9-ea/ReferencePipeline.java:591)
at com.sun.tools.jdeps.JdepsTask.lambda$analyzeDeps$5(jdk.jdeps@9-ea/JdepsTask.java:610)
at java.lang.Iterable.forEach(java.base@9-ea/Iterable.java:75)
at com.sun.tools.jdeps.JdepsTask.analyzeDeps(jdk.jdeps@9-ea/JdepsTask.java:608)
at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-ea/JdepsTask.java:544)
at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-ea/JdepsTask.java:488)
at com.sun.tools.jdeps.Main.main(jdk.jdeps@9-ea/Main.java:48)
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8278844 jdeps: Missing message: warn.skipped.entry
- Resolved
-
JDK-8281143 jdeps: Missing message: warn.skipped.entry
- Closed