1113 |
} |
} |
1114 |
if (constructor == null) |
if (constructor == null) |
1115 |
throw new InstantiationException(getName()); |
throw new InstantiationException(getName()); |
1116 |
if (!Modifier.isPublic(constructor.getModifiers())) |
if (!Modifier.isPublic(constructor.getModifiers()) |
1117 |
|
|| !Modifier.isPublic(getModifiers())) |
1118 |
{ |
{ |
1119 |
final Constructor finalConstructor = constructor; |
final Constructor finalConstructor = constructor; |
1120 |
AccessController.doPrivileged(new PrivilegedAction() |
AccessController.doPrivileged(new PrivilegedAction() |