RFR: 8300237: Minor improvements in MethodHandles [v5]
Rémi Forax
forax at openjdk.org
Wed Jan 18 10:14:28 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()
Looks good to me,
i'm not an official reviewer but claes already review this PR so this is fine.
-------------
PR: https://git.openjdk.org/jdk/pull/12025
More information about the core-libs-dev
mailing list