Hi Alan, Here it is:
http://cr.openjdk.java.net/~ecaspole/JDK-8215521/02/webrev/ thanks, Eric On 10/4/19 02:21, Alan Bateman wrote:
On 03/10/2019 22:27, [email protected] wrote:The cast is bit ugly. In other cases, we create PrivilegedAction like the following to make it easier to read:: http://cr.openjdk.java.net/~ecaspole/JDK-8215521/01/webrev/PrivilegedAction<AccessControlContext> pa = () -> AccessController.getContext();return AccessController.doPrivileged(pa); -Alan
