HttpClient: Translate exceptions thrown by sendAsync

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: core-libs
    • b22

      The parent issue, JDK-8364733, reports that `HttpClient::sendAsync` leaks exceptions which do not extend from `IOException`, and this violates the method's specification. The JDK-8367067 sub-task improved issues around exceptions thrown by request body publishers – which triggered the first encounter with this problem. This sub-task is aimed to end this saga by making sure `HttpClient::sendAsync` translates every operational failure to an `IOException` as per the specification.

            Assignee:
            Volkan Yazici
            Reporter:
            Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: