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

Test cases serviceability/sa/DeadlockDetectionTest.java TestClassLoaderStats.java, TestStackTrace.java are failing in JDK9 Build 114

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • core-svc
    • None
    • b114
    • 9

      Test name(s) :
      serviceability/sa/DeadlockDetectionTest.java serviceability/sa/TestClassLoaderStats.java serviceability/sa/TestStackTrace.java

      JDK tested: JDK9 buld 114
      OS tested: Linux
      Is it platform specific? NO
      The is failure reproduced: always
                  
      General description:
      Getting following error:

      /media/disk2/openjdktest/openjdk9/jdk9114/test/lib/share/classes/jdk/test/lib/Utils.java:51: error: Unsafe is not visible because package jdk.internal.misc is not visible
      import jdk.internal.misc.Unsafe;
                              ^
      /media/disk2/openjdktest/openjdk9/jdk9114/test/lib/share/classes/jdk/test/lib/Utils.java:86: error: cannot find symbol
          private static Unsafe unsafe = null;
                         ^
        symbol: class Unsafe
        location: class Utils
      /media/disk2/openjdktest/openjdk9/jdk9114/test/lib/share/classes/jdk/test/lib/Utils.java:375: error: cannot find symbol
          public static synchronized Unsafe getUnsafe() {
                                     ^
        symbol: class Unsafe
        location: class Utils
      /media/disk2/openjdktest/openjdk9/jdk9114/test/lib/share/classes/jdk/test/lib/Utils.java:378: error: cannot find symbol
                      Field f = Unsafe.class.getDeclaredField("theUnsafe");
                                ^
        symbol: class Unsafe
        location: class Utils
      /media/disk2/openjdktest/openjdk9/jdk9114/test/lib/share/classes/jdk/test/lib/Utils.java:380: error: cannot find symbol
                      unsafe = (Unsafe) f.get(null);
                                ^
        symbol: class Unsafe
        location: class Utils
      Note: Some input files use or override a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      5 errors
      result: Failed. Compilation failed: Compilation failed


      test result: Failed. Compilation failed: Compilation failed

            Unassigned Unassigned
            akolarkunnu Abdul Kolarkunnu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: