RFR: 8230501: Class data support for hidden classes [v4]
Mandy Chung
mchung at openjdk.java.net
Mon Nov 23 17:50:57 UTC 2020
On Mon, 23 Nov 2020 10:23:25 GMT, Chris Hegarty <chegar 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
-------------
PR: https://git.openjdk.java.net/jdk/pull/1171
More information about the core-libs-dev
mailing list