hg: lambda/lambda/jdk: When the SliceOp.SliceTask is used there is a special case when the
paul.sandoz at oracle.com
paul.sandoz at oracle.com
Thu Jun 27 02:01:00 PDT 2013
Changeset: 0c58fe330e2e
Author: psandoz
Date: 2013-06-27 10:49 +0200
URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/0c58fe330e2e
When the SliceOp.SliceTask is used there is a special case when the
spliterator cannot be split (leaf == root) and for this case the
op sink is resued, which skips and limits, so there is no need
to truncate the node produced.
See JDK-8017329.
! src/share/classes/java/util/stream/SliceOps.java
! test/java/util/stream/test/org/openjdk/tests/java/util/stream/SliceOpTest.java
More information about the lambda-dev
mailing list