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-