RFR: 8305104: Remove the old core reflection implementation [v4]

Mandy Chung mchung at openjdk.org
Mon Jun 12 00:53:38 UTC 2023


> JEP 416 integrated in JDK 18 and since then, only a couple minor issues has been reported.  Those issues were related with exception being thrown with invalid arguments.   We propose to remove the old core reflection implementation in JDK 22.  The `-Djdk.reflect.useDirectMethodHandle=false` workaround to revert to the old implementation will stop to work.

Mandy Chung 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 12 additional commits since the last revision:

 - fix typo
 - Merge branch 'master' of https://github.com/openjdk/jdk into remove-old-reflection
 - Merge branch 'master' of https://github.com/openjdk/jdk into remove-old-reflection
 - review feedback
 - fix merge issue
 - clean up
 - Merge branch 'master' of https://github.com/openjdk/jdk into remove-old-reflection
 - Merge branch 'master' of https://github.com/openjdk/jdk into remove-old-reflection
 - Merge branch 'master' of https://github.com/openjdk/jdk into remove-old-reflection
 - merge
 - ... and 2 more: https://git.openjdk.org/jdk/compare/94b8262f...af4db44b

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14371/files
  - new: https://git.openjdk.org/jdk/pull/14371/files/fc164c71..af4db44b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14371&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14371&range=02-03

  Stats: 9457 lines in 207 files changed: 8323 ins; 496 del; 638 mod
  Patch: https://git.openjdk.org/jdk/pull/14371.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14371/head:pull/14371

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


More information about the core-libs-dev mailing list