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
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
- duplicates
-
JDK-8154258 [TESTBUG] Various serviceability tests fail compilation
-
- Closed
-