--- a/hotspot/test/runtime/Unsafe/GetField.java Tue Sep 13 21:29:30 2016 +0000
+++ b/hotspot/test/runtime/Unsafe/GetField.java Wed Sep 14 08:17:50 2016 -0400
@@ -30,14 +30,13 @@
* @run main GetField
*/
-import jdk.test.lib.unsafe.UnsafeHelper;
import jdk.internal.misc.Unsafe;
import java.lang.reflect.*;
import static jdk.test.lib.Asserts.*;
public class GetField {
public static void main(String args[]) throws Exception {
- Unsafe unsafe = UnsafeHelper.getUnsafe();
+ Unsafe unsafe = Unsafe.getUnsafe();
// Unsafe.INVALID_FIELD_OFFSET is a static final int field,
// make sure getField returns the correct field
Field field = Unsafe.class.getField("INVALID_FIELD_OFFSET");