RFR: 8230501: Class data support for hidden classes [v4]
Chris Hegarty
chegar at openjdk.java.net
Tue Nov 24 09:50:01 UTC 2020
On Mon, 23 Nov 2020 17:48:31 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> > It is my understanding that `Lookup` object returned from defineHiddenClass[WithClassData] features the ORIGINAL access lookup mode, right? I cannot find a normative statement to confirm this. If it is the case, then it would be good to clarify this.
>
> Yes with ORIGINAL access. I updated `@return` for both `defineHiddenClass` and `defineHiddenClassWithClassData` as follows:
>
> ```
> - * @return the {@code Lookup} object on the hidden class
> + * @return the {@code Lookup} object on the hidden class with
> + * {@linkplain #ORIGINAL original} and
> + * {@linkplain Lookup#hasFullPrivilegeAccess() full privilege} access
> ```
Thank you. This addresses my concern.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1171
More information about the core-libs-dev
mailing list