8154258: [TESTBUG] Various serviceability tests fail compilation

Replace sun.misc.Unsafe with jdk.internal.misc.Unsafe

Reviewed-by: chegar, kvn
This commit is contained in:
Dmitry Samersoff 2016-05-01 12:47:00 +03:00
parent da0fe9d476
commit 85deb5aa7e
403 changed files with 444 additions and 91 deletions

View file

@ -28,6 +28,7 @@
* @summary class p1.c1 defined in an unnamed module tries to access p2.c2 defined in m2.
* Access allowed, an unnamed module can read all modules and p2 in module m2
* which is exported unqualifiedly.
* @modules java.base/jdk.internal.misc
* @library /testlibrary /test/lib
* @compile myloaders/MyDiffClassLoader.java
* @compile p2/c2.java