8154067: Avoid early use of limited privilege escalation in InnerClassLambdaMetafactory
Reviewed-by: alanb, mchung, mullan, briangoetz
This commit is contained in:
parent
cfb375b438
commit
08d525d5fc
@ -89,8 +89,7 @@ import static jdk.internal.org.objectweb.asm.Opcodes.*;
|
||||
static {
|
||||
final String key = "jdk.internal.lambda.dumpProxyClasses";
|
||||
String path = AccessController.doPrivileged(
|
||||
new GetPropertyAction(key), null,
|
||||
new PropertyPermission(key , "read"));
|
||||
new GetPropertyAction(key));
|
||||
dumper = (null == path) ? null : ProxyClassesDumper.getInstance(path);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user