RFR: 8288730: Add type parameter to Lookup::accessClass and Lookup::ensureInitialized

Chen Liang liach at openjdk.org
Tue Mar 21 12:28:25 UTC 2023


On Sat, 11 Mar 2023 03:28:16 GMT, Chen Liang <liach at openjdk.org> wrote:

> Parameterizes `Lookup::accessClass` and `Lookup::ensureInitialized`. Updated an applicable use-site within JDK to benefit from this patch.

Based on the feedback in the CSR, updated the return spec for `accessClass` to indicate the input `targetClass` is returned, in line with the specification for `ensureInitialized`.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/12984#issuecomment-1477748354


More information about the core-libs-dev mailing list