RFR: 8370839: Tests to verify peculiar Proxy dispatching behaviors [v2]

Chen Liang liach at openjdk.org
Tue Oct 28 18:31:08 UTC 2025


> java.lang.reflect.Proxy has some surprising behaviors associated with protected methods in Object, covariant/contravariant overrides in interfaces, and package-private types in method signatures. Such behaviors should have tests, so that they are not accidentally perturbed in Proxy updates.

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 three additional commits since the last revision:

 - Merge branch 'master' of https://github.com/openjdk/jdk into test/proxy-dispatches
 - Tweaks
 - 8370839: Tests to verify peculiar Proxy dispatching behaviors

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28023/files
  - new: https://git.openjdk.org/jdk/pull/28023/files/5166e236..1c6bba31

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

  Stats: 2782 lines in 113 files changed: 1442 ins; 1010 del; 330 mod
  Patch: https://git.openjdk.org/jdk/pull/28023.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28023/head:pull/28023

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


More information about the core-libs-dev mailing list