Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 11.0.11-oracle, 12
    • Fix Version/s: 12
    • Component/s: tools
    • Verification:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: