--- old/test/java/util/stream/test/org/openjdk/tests/java/util/stream/StreamSpliteratorTest.java 2016-02-02 15:12:58.667332000 +0600 +++ new/test/java/util/stream/test/org/openjdk/tests/java/util/stream/StreamSpliteratorTest.java 2016-02-02 15:12:58.236745900 +0600 @@ -324,6 +324,7 @@ List, Stream>> opFunctions = Arrays.asList( s -> s.filter(pEven), s -> s.map(mDoubler), + s -> s.flatMap(x -> Stream.of(x, x)), // @@@ Add distinct once asserting results with or without order // is correctly supported // s -> s.distinct(), @@ -420,6 +421,7 @@ List> opFunctions = Arrays.asList( s -> s.filter(ipEven), s -> s.map(irDoubler), + s -> s.flatMap(x -> IntStream.of(x, x)), s -> s.sorted()); intStreamFunctions = permuteStreamFunctions(opFunctions); @@ -513,6 +515,7 @@ List> opFunctions = Arrays.asList( s -> s.filter(lpEven), s -> s.map(x -> x * 2L), + s -> s.flatMap(x -> LongStream.of(x, x)), s -> s.sorted()); longStreamFunctions = permuteStreamFunctions(opFunctions); @@ -606,6 +609,7 @@ List> opFunctions = Arrays.asList( s -> s.filter(dpEven), s -> s.map(x -> x * 2.0), + s -> s.flatMap(x -> DoubleStream.of(x, x)), s -> s.sorted()); doubleStreamFunctions = permuteStreamFunctions(opFunctions);