RFR: 8300237: Minor improvements in MethodHandles [v5]

Claes Redestad redestad at openjdk.org
Wed Jan 18 10:23:32 UTC 2023


On Wed, 18 Jan 2023 07:32:58 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:

>> - `MethodType.ptypes()` can be used instead of `MethodType.parameterList()` when we don't need a copy
>> - comparison of two lists can be done without `Stream.reduce()`
>
> Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use comparingInt()

Marked as reviewed by redestad (Reviewer).

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

PR: https://git.openjdk.org/jdk/pull/12025


More information about the core-libs-dev mailing list