hg: jdk/jdk10: 8193856: takeWhile produces incorrect result with elements produced by flatMap

paul.sandoz at oracle.com paul.sandoz at oracle.com
Thu Dec 21 19:07:28 UTC 2017


Changeset: 8aab0cea56bf
Author:    psandoz
Date:      2017-12-20 11:40 -0800
URL:       http://hg.openjdk.java.net/jdk/jdk10/rev/8aab0cea56bf

8193856: takeWhile produces incorrect result with elements produced by flatMap
Reviewed-by: smarks

! src/java.base/share/classes/java/util/stream/WhileOps.java
! test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpTest.java



More information about the jdk-changes mailing list