Nest host validation vs NestHost attribute performed by Lookup::defineHiddenClass

John Rose john.r.rose at oracle.com
Tue Oct 1 22:15:50 UTC 2019


On Oct 1, 2019, at 2:55 PM, Peter Levart <peter.levart at gmail.com> wrote:
> 
> I'm questioning the purpose of multi member nests composed solely of hidden classes. Being part of nest means that you can access private members of other nestmates, but how do you access a private member of a hidden class from another class if you can not refer to the hidden class symbolically? You could perhaps use reflection or MH.Lookup to obtain direct MHs. Is that an important usecase?

Yes.  Such things are often wired together reflectively.




More information about the valhalla-dev mailing list