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

Jorn Vernee jvernee at openjdk.org
Fri Jun 16 15:15:07 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 one additional commit since the last revision:

  update javadoc

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

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

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

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