On 03/10/2019 22:27, [email protected] wrote:
:

http://cr.openjdk.java.net/~ecaspole/JDK-8215521/01/webrev/

The cast is bit ugly. In other cases, we create PrivilegedAction like the following to make it easier to read:

PrivilegedAction<AccessControlContext> pa = () -> AccessController.getContext();
return AccessController.doPrivileged(pa);

-Alan

Reply via email to