RFR: 8310157: Allow void-returning filters for MethodHandles::collectCoordinates [v2]

Jorn Vernee jvernee at openjdk.org
Fri Jun 16 01:53:29 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

Jorn Vernee has updated the pull request incrementally with two additional commits since the last revision:

 - typo
 - polish javadoc

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14496/files
  - new: https://git.openjdk.org/jdk/pull/14496/files/942a7243..1a10d48a

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

  Stats: 15 lines in 1 file changed: 0 ins; 0 del; 15 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