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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: tools
    • Resolved In Build:
      b22

      Description

      $ 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: