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

Chen Liang liach at openjdk.org
Fri Mar 31 20:32:13 UTC 2023


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12986/files
  - new: https://git.openjdk.org/jdk/pull/12986/files/67720a2a..5b26556d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12986&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12986&range=00-01

  Stats: 103037 lines in 1482 files changed: 60525 ins; 29259 del; 13253 mod
  Patch: https://git.openjdk.org/jdk/pull/12986.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/12986/head:pull/12986

PR: https://git.openjdk.org/jdk/pull/12986


More information about the core-libs-dev mailing list