RFR: 8370839: Tests to verify peculiar Proxy dispatching behaviors [v4]
Chen Liang
liach at openjdk.org
Sat Nov 8 15:58:29 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 incrementally with one additional commit since the last revision:
Update test/jdk/java/lang/reflect/Proxy/BridgeMethodsTest.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28023/files
- new: https://git.openjdk.org/jdk/pull/28023/files/3b8c6d2a..e8ed5fab
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28023&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28023&range=02-03
Stats: 1 line in 1 file changed: 0 ins; 1 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