src/java.base/share/classes/java/lang/Class.java

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

*** 53,63 **** import java.util.Set; import java.util.Map; import java.util.HashMap; import java.util.Objects; import java.util.StringJoiner; ! import sun.misc.Unsafe; import jdk.internal.HotSpotIntrinsicCandidate; import sun.reflect.CallerSensitive; import sun.reflect.ConstantPool; import sun.reflect.Reflection; import sun.reflect.ReflectionFactory; --- 53,63 ---- import java.util.Set; import java.util.Map; import java.util.HashMap; import java.util.Objects; import java.util.StringJoiner; ! import jdk.internal.misc.Unsafe; import jdk.internal.HotSpotIntrinsicCandidate; import sun.reflect.CallerSensitive; import sun.reflect.ConstantPool; import sun.reflect.Reflection; import sun.reflect.ReflectionFactory;