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