[core-libs] RFR (L): 8010319: Implementation of JEP 181: Nest-Based Access Control

joe darcy joe.darcy at oracle.com
Wed Jun 13 06:08:55 UTC 2018


Hi David,

On 5/24/2018 10:52 PM, David Holmes wrote:
> Here are the further minor updates so far in response to all the 
> review comments.
>
> Incremental corelibs webrev:
> http://cr.openjdk.java.net/~dholmes/8010319-JEP181/webrev.corelibs.v3-incr/ 
>
>
> Full corelibs webrev:
> http://cr.openjdk.java.net/~dholmes/8010319-JEP181/webrev.corelibs.v3/
>

In Class.java,

3990         Class<?>[] members = getNestMembers0();
3991         // Can't actually enable this due to bootstrapping issues
3992         // assert(members.length != 1 || members[0] == this); // 
expected invariant from VM

can these checks be enabled unconditionally without using the assert 
facility, throwing AssertionError or some other kind of error?

Thanks,

-Joe


More information about the core-libs-dev mailing list