src/java.base/share/classes/sun/reflect/AccessorGenerator.java

Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke

@@ -24,11 +24,11 @@
  */
 
 package sun.reflect;
 
 import java.lang.reflect.*;
-import sun.misc.Unsafe;
+import jdk.internal.misc.Unsafe;
 
 /** Shared functionality for all accessor generators */
 
 class AccessorGenerator implements ClassFileConstants {
     static final Unsafe unsafe = Unsafe.getUnsafe();