291 |
|
} |
292 |
|
|
293 |
|
f = new CompletableFuture<>(); |
294 |
< |
f.completeExceptionally(ex = new CFException()); |
294 |
> |
f.completeExceptionally(new CFException()); |
295 |
|
f.obtrudeValue(v1); |
296 |
|
checkCompletedNormally(f, v1); |
297 |
|
f.obtrudeException(ex = new CFException()); |
4388 |
|
f.complete(null); |
4389 |
|
|
4390 |
|
f = new CompletableFuture<>(); |
4391 |
< |
CompletableFuture.anyOf(new CompletableFuture<?>[] { f, incomplete }); |
4391 |
> |
CompletableFuture.anyOf(f, incomplete); |
4392 |
|
f.complete(null); |
4393 |
|
} |
4394 |
|
|
4406 |
|
f.complete(null); |
4407 |
|
|
4408 |
|
f = new CompletableFuture<>(); |
4409 |
< |
CompletableFuture.anyOf(new CompletableFuture<?>[] { incomplete, f }); |
4409 |
> |
CompletableFuture.anyOf(incomplete, f); |
4410 |
|
f.complete(null); |
4411 |
|
} |
4412 |
|
} |