--- a/hotspot/test/runtime/contended/Inheritance1.java Fri Apr 29 22:40:51 2016 -0400
+++ b/hotspot/test/runtime/contended/Inheritance1.java Sun May 01 12:47:00 2016 +0300
@@ -35,7 +35,7 @@
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 @@
* @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
*/