RFR JDK-8233527: Update Lookup::hasPrivateAccess and Lookup::defineClass spec w.r.t. full power lookup

Alan Bateman Alan.Bateman at oracle.com
Thu Nov 14 10:33:57 UTC 2019


On 14/11/2019 04:57, Mandy Chung wrote:
>
> Updated in place:
>
> http://cr.openjdk.java.net/~mchung/jdk14/8233527/webrev.02/
> http://cr.openjdk.java.net/~mchung/jdk14/8233527/specdiff/
The addition of hasFullPrivilegeAccess looks okay and probably the right 
thing to do.

For the @deprecated message on the old method it might be simpler to say 
that the method was originally designed to test PRIVATE access but has 
since changed to test full privilege access. I think that would be 
better than saying anything about "Java SE 14".

-Alan




More information about the core-libs-dev mailing list