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

Mandy Chung mchung at openjdk.org
Fri Mar 31 21:33:18 UTC 2023


On Fri, 31 Mar 2023 20:32:13 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Also remove redundant casts to avoid javac warnings.
>
> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Update tests to remove useless casts and update copyright year
>  - Merge branch 'master' into constdesc-override
>  - Move MethodTypeDesc api notes to MethodTypeDesc
>  - Merge branch 'master' of https://git.openjdk.java.net/jdk into constdesc-override
>  - Remove redundant casts
>  - Covariant override of resolveConstantDesc for Class/MethodType/MethodHandleDesc

Marked as reviewed by mchung (Reviewer).

Reviewed.  @vicente-romero-oracle may want to review this.

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

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


More information about the core-libs-dev mailing list