-
Bug
-
Resolution: Fixed
-
P4
-
11, 12
-
b22
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258100 | 11.0.11-oracle | Kiran Sidhartha Ravikumar | P4 | Resolved | Fixed | b01 |
JDK-8258609 | 11.0.11 | Mandy Chung | P4 | Resolved | Fixed | b01 |
ADDITIONAL SYSTEM INFORMATION :
Ran 'jdeps' on Windows 10, expecting the bug to be OS agnostic.
A DESCRIPTION OF THE PROBLEM :
The name of the generated .dot file using jdeps `--dot-output` option does not follow constant pattern as it is described in its documentation at: https://docs.oracle.com/javase/10/tools/jdeps.htm#JSWOR690 It states:
"...one '.dot' file for each analyzed archive named 'archive-file-name.dot'..."
This holds true for legacy jars, and for jars providing an 'Automatic-Module-Name'. The expected '.dot' file name changes when jdeps analyzes a modular jar, i.e. it contains a compile module descriptor.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Download 1: http://central.maven.org/maven2/org/ow2/asm/asm/5.2/asm-5.2.jar
Download 2: http://central.maven.org/maven2/org/ow2/asm/asm/6.2.1/asm-6.2.1.jar
Running 'jdeps --dot-output . asm-5.2.jar' produces 'asm-5.2.jar.dot'
Running 'jdeps --dot-output . asm-6.2.1.jar' produces 'org.objectweb.asm.dot'
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Running 'jdeps --dot-output . asm-6.2.1.jar' should also produce a file with a name based on the analyzed jar file : 'asm-6.2.1.jar.dot'
ACTUAL -
Running 'jdeps --dot-output . asm-6.2.1.jar' produces 'org.objectweb.asm.dot'
FREQUENCY : always
Ran 'jdeps' on Windows 10, expecting the bug to be OS agnostic.
A DESCRIPTION OF THE PROBLEM :
The name of the generated .dot file using jdeps `--dot-output` option does not follow constant pattern as it is described in its documentation at: https://docs.oracle.com/javase/10/tools/jdeps.htm#JSWOR690 It states:
"...one '.dot' file for each analyzed archive named 'archive-file-name.dot'..."
This holds true for legacy jars, and for jars providing an 'Automatic-Module-Name'. The expected '.dot' file name changes when jdeps analyzes a modular jar, i.e. it contains a compile module descriptor.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Download 1: http://central.maven.org/maven2/org/ow2/asm/asm/5.2/asm-5.2.jar
Download 2: http://central.maven.org/maven2/org/ow2/asm/asm/6.2.1/asm-6.2.1.jar
Running 'jdeps --dot-output . asm-5.2.jar' produces 'asm-5.2.jar.dot'
Running 'jdeps --dot-output . asm-6.2.1.jar' produces 'org.objectweb.asm.dot'
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Running 'jdeps --dot-output . asm-6.2.1.jar' should also produce a file with a name based on the analyzed jar file : 'asm-6.2.1.jar.dot'
ACTUAL -
Running 'jdeps --dot-output . asm-6.2.1.jar' produces 'org.objectweb.asm.dot'
FREQUENCY : always
- backported by
-
JDK-8258100 jdeps usage of --dot-output doesn't provide valid output for modular jar
- Resolved
-
JDK-8258609 jdeps usage of --dot-output doesn't provide valid output for modular jar
- Resolved