CompletableFuture.whenComplete should use addSuppressed

XMLWordPrintable

      CompletableFuture.whenComplete may have both the source future and the action fail with an exception. In this case the source exception is propagated, but the action exception should be added via Throwable.addSuppressed.

            Assignee:
            Martin Buchholz
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: