RFR 8064331: JavaSecurityAccess.doIntersectionPrivilege() drops the information about the domain combiner of the stack ACC
Jaroslav Bachorik
jaroslav.bachorik at oracle.com
Fri Jan 16 19:09:38 UTC 2015
Please, review the following change.
Issue : https://bugs.openjdk.java.net/browse/JDK-8064331
Webrev: http://cr.openjdk.java.net/~jbachorik/8064331/webrev.00
When using JavaSecurity.doIntersectionPrivilege() to invoke a privileged
operation in ACC that is a result of combining a saved ACC and the stack
ACC the DomainCombiner assigned to the stack ACC gets lost.
The solution is to explicitly add the stack ACC's DomainCombiner to the
ACC instance used to execute the privileged operation.
Thanks,
-JB-
More information about the security-dev
mailing list