RFR 8072932: Test fails with java.security.AccessControlException: access denied ("java.security.SecurityPermission" "getDomainCombiner")

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Wed Feb 11 16:10:03 UTC 2015


Please, review the following simple change.

Issue : https://bugs.openjdk.java.net/browse/JDK-8072932
Webrev: http://cr.openjdk.java.net/~jbachorik/8072932/webrev.00

This patch is about replacing the 
j.s.AccessControlContext.getDomainCombiner() with the package-private 
version j.s.AccessControlContext.getCombiner() to prevent the 
unnecessary privilege check done by the public getDomainCombiner() method.

Thanks,

-JB-


More information about the security-dev mailing list