hotspot/test/runtime/defineAnonClass/NestedUnsafe.java
changeset 41092 c388d897472d
parent 40923 10fe1c28b9f6
child 45112 fbec2bfa3839
--- a/hotspot/test/runtime/defineAnonClass/NestedUnsafe.java	Tue Sep 13 21:29:30 2016 +0000
+++ b/hotspot/test/runtime/defineAnonClass/NestedUnsafe.java	Wed Sep 14 08:17:50 2016 -0400
@@ -39,7 +39,6 @@
 import java.lang.*;
 import jdk.test.lib.*;
 import jdk.internal.misc.Unsafe;
-import jdk.test.lib.unsafe.UnsafeHelper;
 
 
 // Test that an anonymous class in package 'p' cannot define its own anonymous class
@@ -54,7 +53,7 @@
         " } } ");
 
     public static void main(String args[]) throws Exception {
-        Unsafe unsafe = UnsafeHelper.getUnsafe();
+        Unsafe unsafe = Unsafe.getUnsafe();
 
         // The anonymous class calls defineAnonymousClass creating a nested anonymous class.
         byte klassbuf2[] = InMemoryJavaCompiler.compile("p.TestClass2",