RFR: 8310157: Allow void-returning filters for MethodHandles::collectCoordinates
Jorn Vernee
jvernee at openjdk.org
Fri Jun 16 01:53:29 UTC 2023
On Thu, 15 Jun 2023 15:44:04 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
Thanks for the suggestion. I've rewritten these two paragraphs. I now list the behavior of two cases non-void/void separately.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14496#issuecomment-1593966952
More information about the core-libs-dev
mailing list