RFR: 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc

Mandy Chung mchung at openjdk.org
Fri Mar 31 18:39:22 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.

Looks fine.  This is a good change.

It'd be good to update the `java.lang.constant` tests

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

Marked as reviewed by mchung (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/12986#pullrequestreview-1367413958
PR Comment: https://git.openjdk.org/jdk/pull/12986#issuecomment-1492427957


More information about the core-libs-dev mailing list