Bug fixing & Refactoring
The release contains minor bug-fixing and refactorings
AbstractCompletableTask
methodshandle[Async]
andwhenComplete[Async]
now handles exceptions the same way asCompletableFuture
does: any exception inwhenComplete[Async]
does not override original exception for subsequent stages (though, it's enlisted in addSuppressed); exceptions are wrapped intoCompletionException
- Optimize edge-cases for
Promises.any
,Promises.anyStrict
andPromises.anyLeast
- Refactored code of
Promises.from
that wraps third-partyCompletionStage
toPromise
- Fixed rounding error with
DurationCalcs.safeExtractAmount