JDK-8005634 : tools/launcher/VersionCheck.java fails version check on jdeps
  • Type: Bug
  • Component: tools
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-01-02
  • Updated: 2013-02-11
  • Resolved: 2013-01-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b73Fixed
Related Reports
Relates :  
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)

Comments
Adding noreg-self, this is a testcase change only.
03-01-2013