RFR: 8288730: Add type parameter to Lookup::accessClass and Lookup::ensureInitialized [v2]

Mandy Chung mchung at openjdk.org
Tue Mar 21 16:25:15 UTC 2023


On Tue, 21 Mar 2023 12:28:22 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.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update return spec to indicate the same targetClass object is returned

The spec adjustment looks good, make it explicit that the method returns the argument passed to the method.

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

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


More information about the core-libs-dev mailing list