Test sun/security/tools/jarsigner/TsacertOptionTest.java got Compilation failed

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 9
    • Component/s: security-libs

      Tested with build JDK9 b160
      Please see the attached log.

      Exception/Error from logs:
      ----------System.out:(0/0)----------
      ----------System.err:(198/16568)----------
      /Users/autotest/jdk/9160/test/sun/security/tools/jarsigner/TimestampCheck.java:46: error: package jdk.test.lib does not exist
      import jdk.test.lib.SecurityTools;
      /Users/autotest/jdk/9160/test/sun/security/tools/jarsigner/TimestampCheck.java:467: error: cannot find symbol
              String sout = SecurityTools.keytool("-printcert -jarfile weak.jar")
                            ^
        symbol: variable SecurityTools
        location: class TimestampCheck
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      2 errors
      62 warnings
      result: Failed. Compilation failed: Compilation failed

            Assignee:
            Unassigned
            Reporter:
            Daisy Zhou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: