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

Throw UncheckedIOException in place of InternalError when HttpClient fails due to unavailability of underlying resources required by SSLContext

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 16
    • 15
    • core-libs
    • None
    • b12

    Description

      SSLContext.getDefault() can throw NoSuchAlgorithmException for various reasons, If that happens, creation of the HttpClient will fail and an InternalError will be relayed to the user.

      The HttpClient.Builder should probably throw an UncheckedIOException in this case.

      Attachments

        Activity

          People

            ryadav Rahul Yadav
            ryadav Rahul Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: