RFR: 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc
Chen Liang
liach at openjdk.org
Thu Mar 23 02:38:41 UTC 2023
On Sat, 11 Mar 2023 04:59:07 GMT, Chen Liang <liach at openjdk.org> wrote:
> Also remove redundant casts to avoid javac warnings.
Please review this minor patch introducing covariant overrides to make usage of `ClassDesc::resolveConstantDesc` and `MethodTypeDesc::resolveConstantDesc` easier.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12986#issuecomment-1480505156
More information about the core-libs-dev
mailing list