Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8143089

CompletableFuture.whenComplete should use addSuppressed

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: