RFR: 8310157: Allow void-returning filters for MethodHandles::collectCoordinates
Jorn Vernee
jvernee at openjdk.org
Fri Jun 16 00:12:02 UTC 2023
This patch changes the implementation of `MethodHandles::collectCoordinates` to allow using filters that return `void`. This brings the behavior in line with the previously existing `MethodHandles::collectArgument` which operates on MethodHandles rather than VarHandles.
Testing: jdk-tier1,2,3
-------------
Commit messages:
- allow void-returning filters for collectCoordinates
Changes: https://git.openjdk.org/jdk/pull/14496/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14496&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8310157
Stats: 23 lines in 3 files changed: 9 ins; 7 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/14496.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14496/head:pull/14496
PR: https://git.openjdk.org/jdk/pull/14496
More information about the core-libs-dev
mailing list