< prev index next >

src/java.base/share/classes/java/lang/reflect/Modifier.java

Print this page

        

*** 23,36 **** * questions. */ package java.lang.reflect; - import java.security.AccessController; import java.util.StringJoiner; - import jdk.internal.reflect.LangReflectAccess; - import jdk.internal.reflect.ReflectionFactory; /** * The Modifier class provides {@code static} methods and * constants to decode class and member access modifiers. The sets of * modifiers are represented as integers with distinct bit positions --- 23,33 ----
*** 45,64 **** * @author Kenneth Russell * @since 1.1 */ public class Modifier { - /* - * Bootstrapping protocol between java.lang and java.lang.reflect - * packages - */ - static { - ReflectionFactory factory = AccessController.doPrivileged( - new ReflectionFactory.GetReflectionFactoryAction()); - factory.setLangReflectAccess(new java.lang.reflect.ReflectAccess()); - } - /** * Return {@code true} if the integer argument includes the * {@code public} modifier, {@code false} otherwise. * * @param mod a set of modifiers --- 42,51 ----
< prev index next >