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 {
|
static {
|
||||||
final String key = "jdk.internal.lambda.dumpProxyClasses";
|
final String key = "jdk.internal.lambda.dumpProxyClasses";
|
||||||
String path = AccessController.doPrivileged(
|
String path = AccessController.doPrivileged(
|
||||||
new GetPropertyAction(key), null,
|
new GetPropertyAction(key));
|
||||||
new PropertyPermission(key , "read"));
|
|
||||||
dumper = (null == path) ? null : ProxyClassesDumper.getInstance(path);
|
dumper = (null == path) ? null : ProxyClassesDumper.getInstance(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user