Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b73
Description
The jdeps tools (recently added by 8003562) does not support '-version'. It uses the gnu-style '--version'. It should be excluded from VersionCheck.testToolVersion(), similar to the (un)pack200 tool.
Sample output from failing test.
....
Version Test: 0
Internal Strings Test: 0
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/jdeps
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/jhat
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/idlj
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/javah
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/jdb
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/javap
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/java
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/javac
Exception in thread "main" java.lang.AssertionError: Some tests failed
at VersionCheck.main(VersionCheck.java:217)
Sample output from failing test.
....
Version Test: 0
Internal Strings Test: 0
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/jdeps
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/jhat
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/idlj
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/javah
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/jdb
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/javap
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/java
Testing (-version): /export2/Users/chris/repos/jdk8/tl/master_top/build/solaris-i586/bin/javac
Exception in thread "main" java.lang.AssertionError: Some tests failed
at VersionCheck.main(VersionCheck.java:217)
Attachments
Issue Links
- relates to
-
JDK-8003562 Provide a command-line tool to find static dependencies
- Resolved