Hidden classes + class data

forax at univ-mlv.fr forax at univ-mlv.fr
Tue Nov 26 11:18:13 UTC 2019


----- Mail original -----
> De: "David Holmes" <david.holmes at oracle.com>
> À: "Remi Forax" <forax at univ-mlv.fr>, "mandy chung" <mandy.chung at oracle.com>
> Cc: "valhalla-dev" <valhalla-dev at openjdk.java.net>
> Envoyé: Lundi 25 Novembre 2019 00:17:36
> Objet: Re: Hidden classes + class data

[...]

>>> Our intent is to limit the dynamic nestmates to hidden classes as the current
>>> scope for this work.
>>> Separate the extension of dynamic nestmates to ordinary classes in the future.
>> 
>> again, correct me if i'm wrong, technically, it's not really dynamic nestmates,
>> it's more nest host delegation ?
>> The hidden class being able to delegate all the security checks to another
>> class.
> 
> No it is dynamic nestmates. The hidden class declares the existing
> nest-host as its nest-host (thereby dynamically injecting itself into
> the nest) and there after will pass all nestmate access checks between
> itself, the host and any other nest members.
> 
> David
> -----
> 

Ok !
thanks David and Mandy.

Rémi



More information about the valhalla-dev mailing list