RFR: 8370839: Tests to verify peculiar Proxy dispatching behaviors [v5]
Jorn Vernee
jvernee at openjdk.org
Thu Nov 13 02:32:03 UTC 2025
On Thu, 13 Nov 2025 00:14:28 GMT, Chen Liang <liach at openjdk.org> wrote:
>> 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 nine additional commits since the last revision:
>
> - Better comments
> - Merge branch 'master' of https://github.com/openjdk/jdk into test/proxy-dispatches
> - Update test/jdk/java/lang/reflect/Proxy/BridgeMethodsTest.java
> - Consolidate duplicate tests
> - Merge branch 'master' of https://github.com/openjdk/jdk into test/proxy-dispatches
> - Merge branch 'master' of https://github.com/openjdk/jdk into test/proxy-dispatches
> - Merge branch 'master' of https://github.com/openjdk/jdk into test/proxy-dispatches
> - Tweaks
> - 8370839: Tests to verify peculiar Proxy dispatching behaviors
Thanks for the updates!
-------------
Marked as reviewed by jvernee (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28023#pullrequestreview-3456817978
More information about the core-libs-dev
mailing list