-
Bug
-
Resolution: Obsolete
-
Major
-
8.2.6.Final, 9.0.0.Final
-
None
After ISPN-6392, DistributedExecutorService.submit(...) nominally returns a CompletableFuture. However, it doesn't behave like a regular CompletableFuture, because it doesn't run the failure policy until the user calls future.get().
future.isComplete() will return true before running the failure policy, and future.whenComplete(callback) will also execute the callback before running the failure policy.