RFR: 8370839: Tests to verify peculiar Proxy dispatching behaviors
Chen Liang
liach at openjdk.org
Tue Oct 28 16:59:27 UTC 2025
java.lang.reflect.Proxy has some surprising behaviors associated with protected methods in Object and covariant/contravariant overrides in interfaces. Such behaviors should have tests, so that they are not accidentally perturbed in Proxy updates.
-------------
Commit messages:
- 8370839: Tests to verify peculiar Proxy dispatching behaviors
Changes: https://git.openjdk.org/jdk/pull/28023/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28023&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8370839
Stats: 230 lines in 2 files changed: 230 ins; 0 del; 0 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