jdk/src/share/classes/java/lang/reflect/Modifier.java
changeset 51 6fe31bc95bbc
parent 2 90ce3da70b43
child 715 f16baef3a20e
equal deleted inserted replaced
50:a437b3f9d7f4 51:6fe31bc95bbc
    56      * Bootstrapping protocol between java.lang and java.lang.reflect
    56      * Bootstrapping protocol between java.lang and java.lang.reflect
    57      *  packages
    57      *  packages
    58      */
    58      */
    59     static {
    59     static {
    60         sun.reflect.ReflectionFactory factory =
    60         sun.reflect.ReflectionFactory factory =
    61             (sun.reflect.ReflectionFactory) AccessController.doPrivileged(
    61             AccessController.doPrivileged(
    62                 new ReflectionFactory.GetReflectionFactoryAction()
    62                 new ReflectionFactory.GetReflectionFactoryAction());
    63             );
       
    64         factory.setLangReflectAccess(new java.lang.reflect.ReflectAccess());
    63         factory.setLangReflectAccess(new java.lang.reflect.ReflectAccess());
    65     }
    64     }
    66 
    65 
    67     /**
    66     /**
    68      * Return {@code true} if the integer argument includes the
    67      * Return {@code true} if the integer argument includes the