RFR(S): 8154754: MethodHandles.countedLoop errors in deriving loop arguments, result type, and local state
Claes Redestad
claes.redestad at oracle.com
Fri Apr 22 10:18:35 UTC 2016
Hi,
looks good to me. resultType == void.class ? zero(void.class) :
identity(resultType) appears twice and unconditionally used at least
once, thus could be profitably extracted to a variable for
readability/imaginary performance gain. Thanks! /Claes
On 2016-04-20 15:46, Michael Haupt wrote:
> Dear all,
>
> please review this change. It depends on the one about 8154751 posted earlier [1].
> Bug: https://bugs.openjdk.java.net/browse/JDK-8154754
> Webrev: http://cr.openjdk.java.net/~mhaupt/8154754/webrev.00/
>
> Thanks,
>
> Michael
>
> [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-April/040386.html
>
More information about the core-libs-dev
mailing list