[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR 8072932: Test fails with java.security.AccessControlException: access denied ("java.security
From:       David Holmes <david.holmes () oracle ! com>
Date:       2015-02-13 2:39:30
Message-ID: 54DD63E2.4080002 () oracle ! com
[Download RAW message or body]

On 12/02/2015 2: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.

Just wondering: would the original call succeed if placed in a doPrivileged?

David

> Thanks,
>
> -JB-
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic