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

jdeps --print-module-deps should report missing dependences

XMLWordPrintable

    • b22

        $ jdeps --print-module-deps app.jar

        It finds the modules required by the specified application. Its result can be used to create a runtime image for such application to run.

        If app.jar depends on libraries that are not found from the classpath or module path, it currently does not report missing dependences.

        $ jdeps --class-path libs --print-module-deps app.jar

        jdeps --print-module-deps only reports module dependences required by app.jar. To include the transitive module dependences required by libs, if referenced, -R option can be used. To improve usability, -R should be the default.

        A new --ignore-missing-deps option can be introduced to ignore missing deps.

              mchung Mandy Chung (Inactive)
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: