Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8005634

tools/launcher/VersionCheck.java fails version check on jdeps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • tools
    • 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)

      Attachments

        Issue Links

          Activity

            People

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: