< prev index next >

test/compiler/unsafe/UnsafeRaw.java

Print this page

        

@@ -33,11 +33,10 @@
 
 package compiler.unsafe;
 
 import jdk.internal.misc.Unsafe;
 import jdk.test.lib.Utils;
-import jdk.test.lib.unsafe.UnsafeHelper;
 
 import java.util.Random;
 
 public class UnsafeRaw {
   public static class Tests {

@@ -80,11 +79,11 @@
       return unsafe.getInt(base + (index * 16));
     }
   }
 
   public static void main(String[] args) throws Exception {
-    Unsafe unsafe = UnsafeHelper.getUnsafe();
+    Unsafe unsafe = Unsafe.getUnsafe();
     final int array_size = 128;
     final int element_size = 4;
     final int magic = 0x12345678;
 
     Random rnd = Utils.getRandomInstance();
< prev index next >