[Nestmates] RFR: 8199309: [Nestmates] The new Class nestmate methods should have SecurityManager checks

John Rose john.r.rose at oracle.com
Tue Mar 13 05:41:51 UTC 2018

On Mar 12, 2018, at 7:44 PM, David Holmes <david.holmes at oracle.com> wrote:
> So I don't see how this "sanity check" helps anything. ?? Plus it leads to confusion for anyone later reading the code.

That’s funny. I was confused wondering how to prove,locally, that the value of members[0] was ‘this’. IDifferent folks find different things confusing. 

Suggest adding an assert to getNestMembers that the host always comes first. 

That would serve as local proof that the code which confused me is valid. 

More information about the valhalla-dev mailing list