8014678: Spurious AccessControlException thrown in java.lang.Class.getEnclosingMethod()Reviewed-by: ahgross, mchung, psandoz