-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
None
-
b89
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142848 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
We use doPrivileged with restricted AccessControlContext in several places. It's repetitive code where we need to create a permission array, then a permission collection, then the access control context object. Having an easy to use convenience factory for this functionality would allow us to more robustly create these with less possibility for error and to more easily use the more efficient doPrivileged(PrivilegedAction, AccessControlContext) method instead of doPrivileged(PrivilegedAction, AccessControlContext, Permission...)
- backported by
-
JDK-8142848 Add a convenience AccessControlContext factory
-
- Resolved
-