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

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

*** 42,52 **** <P> The methods in this class are extremely unsafe and can cause subversion of both the language and the verifier. For this reason, they are all instance methods, and access to the constructor of this factory is guarded by a security check, in similar style to ! {@link sun.misc.Unsafe}. </P> */ public class ReflectionFactory { private static boolean initted = false; --- 42,52 ---- <P> The methods in this class are extremely unsafe and can cause subversion of both the language and the verifier. For this reason, they are all instance methods, and access to the constructor of this factory is guarded by a security check, in similar style to ! {@link jdk.internal.misc.Unsafe}. </P> */ public class ReflectionFactory { private static boolean initted = false;