mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
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:
parent
da0fe9d476
commit
85deb5aa7e
403 changed files with 444 additions and 91 deletions
|
@ -35,7 +35,7 @@ import java.util.regex.Matcher;
|
|||
import java.util.regex.Pattern;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Modifier;
|
||||
import sun.misc.Unsafe;
|
||||
import jdk.internal.misc.Unsafe;
|
||||
import jdk.internal.vm.annotation.Contended;
|
||||
|
||||
/*
|
||||
|
@ -43,6 +43,7 @@ import jdk.internal.vm.annotation.Contended;
|
|||
* @bug 8012939
|
||||
* @summary \@Contended doesn't work correctly with inheritance
|
||||
*
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.base/jdk.internal.vm.annotation
|
||||
* @run main/othervm -XX:-RestrictContended Inheritance1
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue