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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • 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

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

              Created:
              Updated:
              Resolved: