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.12 by jsr166, Sun Mar 31 18:16:35 2013 UTC vs.
Revision 1.13 by jsr166, Sun Mar 31 18:17:18 2013 UTC

# Line 2393 | Line 2393 | public class CompletableFutureTest exten
2393          CompletableFuture<Integer> f = new CompletableFuture<Integer>();
2394          CompletableFuture<Integer> g = new CompletableFuture<Integer>();
2395          CompletableFuture h;
2396        Runnable[] actions = {
2397            () => f.thenApply(null),
2398        }
2396          try { h = f.thenApply(null); } catch (NullPointerException ok) {}
2397          try { h = f.thenAccept(null); } catch (NullPointerException ok) {}
2398          try { h = f.thenRun(null); } catch (NullPointerException ok) {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines