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

make build-test-lib is broken

    XMLWordPrintable

Details

    • b17

    Description

      This is on behalf of Bob.

      === Output from failing command(s) repeated here ===
      * For target support_test_lib_test-lib_classes__the.BUILD_TEST_LIB_JAR_batch:
      /Users/fool/df/jdk/test/lib/jdk/test/lib/NetworkConfiguration.java:466: warning: [removal] AccessController in java.security has been deprecated and marked for removal
              AccessController.doPrivileged(pa);
              ^
      error: warnings found and -Werror specified
      /Users/fool/df/jdk/test/lib/jdk/test/lib/SA/SATestUtils.java:167: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                      var bb = AccessController.doPrivileged(
                               ^
      /Users/fool/df/jdk/test/lib/jdk/test/lib/SA/SATestUtils.java:189: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                      var bb = AccessController.doPrivileged(
                               ^
      /Users/fool/df/jdk/test/lib/jdk/test/lib/net/IPSupport.java:88: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                  return AccessController.doPrivileged(pa);
                         ^
      /Users/fool/df/jdk/test/lib/jdk/test/lib/net/SimpleSSLContext.java:60: warning: [removal] AccessController in java.security has been deprecated and marked for removal
                  AccessController.doPrivileged(new PrivilegedExceptionAction<Void>() {
         ... (rest of output omitted)
      * For target support_test_lib_wb_classes__the.BUILD_WB_JAR_batch:
      /Users/fool/df/jdk/test/lib/sun/hotspot/WhiteBox.java:35: error: package jdk.test.whitebox.parser does not exist
      import jdk.test.whitebox.parser.DiagnosticCommand;
                                     ^
      /Users/fool/df/jdk/test/lib/sun/hotspot/WhiteBox.java:196: error: cannot find symbol
        private native Object[] parseCommandLine0(String commandline, char delim, DiagnosticCommand[] args);
                                                                                      ^
        symbol: class DiagnosticCommand
        location: class WhiteBox
      /Users/fool/df/jdk/test/lib/sun/hotspot/WhiteBox.java:197: error: cannot find symbol
        public Object[] parseCommandLine(String commandline, char delim, DiagnosticCommand[] args) {
                                                                                     ^
        symbol: class DiagnosticCommand
        location: class WhiteBox
      /Users/fool/df/jdk/test/lib/sun/hotspot/code/BlobType.java:86: warning: [deprecation] WhiteBox in sun.hotspot has been deprecated
              WhiteBox whiteBox = WhiteBox.getWhiteBox();
         ... (rest of output omitted)

      Attachments

        Issue Links

          Activity

            People

              jiefu Jie Fu
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: