JDK 9 RFR for 8036841 : Reuse no-perms AccessControlContext object when performing isAuthorized check

Bradford Wetmore bradford.wetmore at oracle.com
Mon Jun 2 19:15:07 UTC 2014


Looks ok to me.

Brad


On 6/2/2014 11:15 AM, Sean Mullan wrote:
> This is a fix to avoid creating multiple no-perms ACC objects for access
> control checks. Since this is required in an uncommon scenario, I used
> the Initialization on demand holder pattern to only create it under
> those circumstances.
>
> webrev: http://cr.openjdk.java.net/~mullan/webrevs/8036841/webrev.01/
>
> --Sean



More information about the security-dev mailing list