--- jsr166/src/test/tck/CompletableFutureTest.java 2013/03/31 18:14:19 1.11 +++ jsr166/src/test/tck/CompletableFutureTest.java 2013/03/31 18:16:35 1.12 @@ -2393,6 +2393,9 @@ public class CompletableFutureTest exten CompletableFuture f = new CompletableFuture(); CompletableFuture g = new CompletableFuture(); CompletableFuture h; + Runnable[] actions = { + () => f.thenApply(null), + } try { h = f.thenApply(null); } catch (NullPointerException ok) {} try { h = f.thenAccept(null); } catch (NullPointerException ok) {} try { h = f.thenRun(null); } catch (NullPointerException ok) {}