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

Sean Mullan sean.mullan at oracle.com
Thu Feb 12 13:43:19 UTC 2015


Looks fine to me. Can you add a noreg-trivial label to the bug?

--Sean

On 02/11/2015 11:10 AM, Jaroslav Bachorik wrote:
> 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