Home
last modified time | relevance | path

Searched refs:completeExceptionally (Results 1 – 14 of 14) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java239 f.completeExceptionally(ex);
276 f.completeExceptionally(new CFException());
304 f.completeExceptionally(ex = new CFException());
309 f.completeExceptionally(new CFException());
351 assertTrue(f.completeExceptionally(new IndexOutOfBoundsException()));
870 if (!createIncomplete) f.completeExceptionally(ex);
878 if (createIncomplete) f.completeExceptionally(ex);
895 if (!createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
903 if (createIncomplete) f.completeExceptionally(ex1); in testExceptionally_exceptionalCompletionActionFailed()
948 if (!createIncomplete) f.completeExceptionally(ex); in testWhenComplete_exceptionalCompletion()
[all …]
DForkJoinTaskTest.java260 super.completeExceptionally(ex);
265 completeExceptionally(new FJException());
284 p.completeExceptionally(rex);
291 public final void completeExceptionally(Throwable ex) {
296 s.completeExceptionally(ex);
384 completeExceptionally(new FJException());
771 f.completeExceptionally(new FJException());
790 f.completeExceptionally(null);
1462 f.completeExceptionally(new FJException());
DForkJoinTask8Test.java247 super.completeExceptionally(ex);
252 completeExceptionally(new FJException());
272 p.completeExceptionally(rex);
279 public final void completeExceptionally(Throwable ex) {
284 s.completeExceptionally(ex);
373 completeExceptionally(new FJException());
764 f.completeExceptionally(new FJException());
DRecursiveActionTest.java290 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
322 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
349 fibActions[2].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
351 fibActions[5].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
849 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
DForkJoinPool8Test.java301 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
333 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
662 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
963 completeExceptionally(new FJException()); in onCompletion()
1310 f.completeExceptionally(new FJException()); in testCompleteExceptionally2CC()
DCountedCompleterTest.java269 completeExceptionally(ex);
325 a.completeExceptionally(null);
619 completeExceptionally(new FJException()); in onCompletion()
1008 f.completeExceptionally(ex); in testCompleteExceptionally2()
1673 f.completeExceptionally(ex); in testCompleteExceptionallySingleton()
DRecursiveTaskTest.java666 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DForkJoinTaskTest.java282 super.completeExceptionally(ex);
287 completeExceptionally(new FJException());
306 p.completeExceptionally(rex);
313 public final void completeExceptionally(Throwable ex) {
318 s.completeExceptionally(ex);
406 completeExceptionally(new FJException());
793 f.completeExceptionally(new FJException());
812 f.completeExceptionally(null);
1483 f.completeExceptionally(new FJException());
DForkJoinTask8Test.java270 super.completeExceptionally(ex);
275 completeExceptionally(new FJException());
295 p.completeExceptionally(rex);
302 public final void completeExceptionally(Throwable ex) {
307 s.completeExceptionally(ex);
396 completeExceptionally(new FJException());
787 f.completeExceptionally(new FJException());
DRecursiveActionTest.java312 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
341 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
367 fibActions[2].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
369 fibActions[5].completeExceptionally(new FJException()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
861 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
DForkJoinPool8Test.java323 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
352 f.completeExceptionally(new FJException()); in testJoinIgnoresInterrupts()
680 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
981 completeExceptionally(new FJException()); in onCompletion()
1328 f.completeExceptionally(new FJException()); in testCompleteExceptionally2CC()
DRecursiveTaskTest.java689 f.completeExceptionally(new FJException()); in testCompleteExceptionally()
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java68 public boolean completeExceptionally(java.lang.Throwable ex) { throw new RuntimeException("Stub!");… in completeExceptionally() method in CompletableFuture
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java939 public void completeExceptionally(Throwable ex) { in completeExceptionally() method in ForkJoinTask