RFR 8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()

Mandy Chung mandy.chung at oracle.com
Wed Feb 25 23:17:21 UTC 2015


On 2/24/2015 3:26 AM, Joel Borggrén-Franck wrote:
> The solution here is to insert a doPrivileged block around the call where j.l.Class gets the members to construct the answer.
>
> Webrev: http://cr.openjdk.java.net/~jfranck/8014678/

This looks fine to me.

Mandy



More information about the core-libs-dev mailing list