On Mon, 23 Nov 2020 10:23:25 GMT, Chris Hegarty <[email protected]> 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
-------------
PR: https://git.openjdk.java.net/jdk/pull/1171