On Mon, 23 Nov 2020 17:48:31 GMT, Mandy Chung <mch...@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