Skip to content

Bug fixing & Refactoring

Compare
Choose a tag to compare
@vsilaev vsilaev released this 16 Mar 13:41
· 257 commits to master since this release

The release contains minor bug-fixing and refactorings

  1. AbstractCompletableTask methods handle[Async] and whenComplete[Async] now handles exceptions the same way as CompletableFuture does: any exception in whenComplete[Async] does not override original exception for subsequent stages (though, it's enlisted in addSuppressed); exceptions are wrapped into CompletionException
  2. Optimize edge-cases for Promises.any, Promises.anyStrict and Promises.anyLeast
  3. Refactored code of Promises.from that wraps third-party CompletionStage to Promise
  4. Fixed rounding error with DurationCalcs.safeExtractAmount