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.125 by jsr166, Thu Sep 10 17:59:13 2015 UTC

# 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