1.1 --- a/emul/src/main/java/java/lang/reflect/Modifier.java Tue Dec 04 13:29:17 2012 +0100
1.2 +++ b/emul/src/main/java/java/lang/reflect/Modifier.java Tue Dec 04 14:31:11 2012 +0100
1.3 @@ -25,10 +25,6 @@
1.4
1.5 package java.lang.reflect;
1.6
1.7 -import java.security.AccessController;
1.8 -import sun.reflect.LangReflectAccess;
1.9 -import sun.reflect.ReflectionFactory;
1.10 -
1.11 /**
1.12 * The Modifier class provides {@code static} methods and
1.13 * constants to decode class and member access modifiers. The sets of
1.14 @@ -46,17 +42,6 @@
1.15 public
1.16 class Modifier {
1.17
1.18 - /*
1.19 - * Bootstrapping protocol between java.lang and java.lang.reflect
1.20 - * packages
1.21 - */
1.22 - static {
1.23 - sun.reflect.ReflectionFactory factory =
1.24 - AccessController.doPrivileged(
1.25 - new ReflectionFactory.GetReflectionFactoryAction());
1.26 - factory.setLangReflectAccess(new java.lang.reflect.ReflectAccess());
1.27 - }
1.28 -
1.29 /**
1.30 * Return {@code true} if the integer argument includes the
1.31 * {@code public} modifier, {@code false} otherwise.