# | Line 837 | Line 837 | public class CompletableFutureTest exten | |
---|---|---|
837 | if (!createIncomplete) assertTrue(f.complete(v1)); | |
838 | final CompletableFuture<Integer> g = f.exceptionally | |
839 | ((Throwable t) -> { | |
840 | – | // Should not be called |
840 | a.getAndIncrement(); | |
841 | < | throw new AssertionError(); |
841 | > | threadFail("should not be called"); |
842 | > | return null; // unreached |
843 | }); | |
844 | if (createIncomplete) assertTrue(f.complete(v1)); | |
845 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |