--- a/hotspot/test/runtime/Unsafe/GetPutAddress.java Tue Sep 13 21:29:30 2016 +0000
+++ b/hotspot/test/runtime/Unsafe/GetPutAddress.java Wed Sep 14 08:17:50 2016 -0400
@@ -31,13 +31,12 @@
*/
import jdk.test.lib.Platform;
-import jdk.test.lib.unsafe.UnsafeHelper;
import jdk.internal.misc.Unsafe;
import static jdk.test.lib.Asserts.*;
public class GetPutAddress {
public static void main(String args[]) throws Exception {
- Unsafe unsafe = UnsafeHelper.getUnsafe();
+ Unsafe unsafe = Unsafe.getUnsafe();
int addressSize = unsafe.addressSize();
// Ensure the size returned from Unsafe.addressSize is correct
assertEquals(unsafe.addressSize(), Platform.is32bit() ? 4 : 8);