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

jdeps throws NPE when analyzing javafx.media that references a non-existent class used to be in JDK

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:
      None
    • Resolved In Build:
      b22

      Description

      $ jdeps --module-path javafx-sdk-11/lib --print-module-deps ...

      Exception in thread "main" java.lang.NullPointerException
      at jdk.jdeps/com.sun.tools.jdeps.ModuleGraphBuilder.requiresTransitive(ModuleGraphBuilder.java:124)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleGraphBuilder.buildGraph(ModuleGraphBuilder.java:110)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleGraphBuilder.reduced(ModuleGraphBuilder.java:65)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleExportsAnalyzer.modules(ModuleExportsAnalyzer.java:124)
      at jdk.jdeps/com.sun.tools.jdeps.ModuleExportsAnalyzer.run(ModuleExportsAnalyzer.java:97)
      at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$ListModuleDeps.run(JdepsTask.java:1023)
      at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:560)
      at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:519)
      at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: