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

Jorn Vernee jvernee at openjdk.org
Fri Jun 16 15:15:09 UTC 2023


On Fri, 16 Jun 2023 01:53:29 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> 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

Updated the javadoc for the void case after some offline discussion on the wording. It should be much simpler now.

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

PR Comment: https://git.openjdk.org/jdk/pull/14496#issuecomment-1594847101


More information about the core-libs-dev mailing list