Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Replaces ICompletableFuture with CompletionStage #15441
CallbackAwareClientDelegatingFuture and OneShotExecutionCallback are now redundant. Also checkstyle fixes.
- Errors are wrapped when thrown from get() / join(), according to CompletableFuture spec - New joinInternal() rethrows error wrapped in a "local" Error instance of same class. Also, notifies OutOfMemoryErrorDispatcher as was previously done by join()
This results in reduction of allocations from InvocationFuture's get(), join() and joinInternal() methods.
Instead of plain CompletableFuture, return InternalCompletableFuture Also adds missing implementations of obtrudeValue, obtrudeException and getNumberOfDependents