Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8167014

jdeps: Missing message: warn.skipped.entry

    XMLWordPrintable

    Details

    • Introduced In Version:
    • Resolved In Build:
      b140
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mchung Mandy Chung
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: