--- a/hotspot/test/runtime/defineAnonClass/NestedUnsafe2.java Tue Sep 13 21:29:30 2016 +0000
+++ b/hotspot/test/runtime/defineAnonClass/NestedUnsafe2.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 that gets put in its host's package cannot define
@@ -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("TestClass2",