Details
-
Sub-task
-
Resolution: Delivered
-
P4
-
11.0.11-oracle, 12
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8260164 | 11.0.11-oracle | Clifford Wayne | P4 | Resolved | Delivered |
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.
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
- backported by
-
JDK-8260164 Release Note: jdeps --print-module-deps Reports Transitive Dependences
- Resolved