ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/CompletableFutureTest.java
(Generate patch)

Comparing jsr166/src/test/tck/CompletableFutureTest.java (file contents):
Revision 1.124 by jsr166, Thu Sep 10 17:51:37 2015 UTC vs.
Revision 1.126 by jsr166, Fri Oct 2 21:08:48 2015 UTC

# Line 898 | Line 898 | public class CompletableFutureTest exten
898       * whenComplete action executes on normal completion, propagating
899       * source result.
900       */
901 <    public void testWhenComplete_normalCompletion1() {
901 >    public void testWhenComplete_normalCompletion() {
902          for (ExecutionMode m : ExecutionMode.values())
903          for (boolean createIncomplete : new boolean[] { true, false })
904          for (Integer v1 : new Integer[] { 1, null })
# Line 3708 | Line 3708 | public class CompletableFutureTest exten
3708              (method) -> (method.getModifiers() & Modifier.STATIC) == 0;
3709          List<Method> minimalMethods =
3710              Stream.of(Object.class, CompletionStage.class)
3711 <            .map((klazz) -> Stream.of(klazz.getMethods()))
3712 <            .reduce(Stream::concat)
3713 <            .orElseGet(Stream::empty)
3711 >            .flatMap((klazz) -> Stream.of(klazz.getMethods()))
3712              .filter(isNotStatic)
3713              .collect(Collectors.toList());
3714          // Methods from CompletableFuture permitted NOT to throw UOE

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines