JDK 9 RFR of JDK-8169903: Refactor spliterator traversing tests into a library
Amy Lu
amy.lu at oracle.com
Thu Feb 9 04:35:15 UTC 2017
On 2/9/17 1:50 AM, Paul Sandoz wrote:
> SpliteratorCollisions
> —
>
> 232 testForEach(exp, s, (Consumer<HashableInteger> b) -> b);
>
> Do you require the type declaration for the lambda function parameter?
>
> It might be possible to use UnaryOperator.identity() in those cases.
>
Right :-)
Fixed in http://cr.openjdk.java.net/~amlu/8169903/webrev.03/
Thanks,
Amy
More information about the core-libs-dev
mailing list