-
CSR
-
Resolution: Approved
-
P3
-
None
-
behavioral
-
minimal
-
Java API
-
SE
Summary
Specify that the access control context parameters of Subject.doAsPrivileged
are ignored. This spec update was missed as part of JEP 486.
Problem
With JEP 486 integrated, the access control context parameters of Subject.doAsPrivileged
no longer apply and are ignored. The specification needs to be updated to specify that these parameters are ignored.
Solution
See specification.
Specification
Change the acc
param of Subject.doAsPrivileged(Subject, PrivilegedAction, AccessControlContext)
and Subject.doAsPrivileged(Subject, PrivilegedExceptionAction, AccessControlContext)
from:
@param acc the {@code AccessControlContext} to be tied to the
specified <i>subject</i> and <i>action</i>.
to:
@param acc ignored
- csr of
-
JDK-8344788 Specify that the access control context parameters of Subject.doAsPrivileged are ignored
-
- Resolved
-