public class AccessControllers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> PrivilegedAction<T> |
action(PrivilegedAction<T> action)
Removes the ambiguity between
PrivilegedAction and PrivilegedExceptionAction that normally occurs when a lambda is passed to
AccessController#doPrivileged() |
public static <T> PrivilegedAction<T> action(PrivilegedAction<T> action)
PrivilegedAction and PrivilegedExceptionAction that normally occurs when a lambda is passed to
AccessController#doPrivileged()Copyright © 2017. All rights reserved.