Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213909 jdeps --print-module-deps should report missing dependences
  3. JDK-8214213

Release Note: jdeps --print-module-deps Reports Transitive Dependences

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Delivered
    • P4
    • 12
    • 11.0.11-oracle, 12
    • tools
    • Verified

    Backports

      Description

        `jdeps --print-module-deps`, `--list-deps`, and `--list-reduce-deps` options have been
        enhanced as follows.

        1. By default, they perform transitive module dependence analysis on libraries on the class path and module path, both directly and indirectly, as required by the given input JAR files or classes. Previously, they only reported the modules required by the given input JAR files or classes. The `--no-recursive` option can be used to request non-transitive dependence analysis.

        2. By default, they flag any missing dependency, i.e. not found from class path and module path, as an error. The `--ignore-missing-deps` option can be used to suppress missing dependence errors. Note that a custom image is created with the list of modules output by jdeps when using the `--ignore-missing-deps` option for a non-modular application. Such an application, running on the custom image, might fail at runtime when missing dependence errors are suppressed.

        Attachments

          Issue Links

            Activity

              People

                mchung Mandy Chung
                mchung Mandy Chung
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: