hg: jdk/sandbox: 8251715: Throw UncheckedIOException in place of InternalError when HttpClient fails due to unavailability of underlying resources required by SSLContext.

chris.hegarty at oracle.com chris.hegarty at oracle.com
Wed Aug 19 09:45:18 UTC 2020


Changeset: caed36c387e0
Author:    ryadav
Date:      2020-08-18 16:44 +0100
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/caed36c387e0

8251715: Throw UncheckedIOException in place of InternalError when HttpClient fails due to unavailability of underlying resources required by SSLContext.
Summary: This fix updates jdk.internal.net.http.HttpClientImpl to throw an UncheckedIOException instead of InternalError.
Reviewed-by: chegar, dfuchs

! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java
+ test/jdk/java/net/httpclient/SSLExceptionTest.java



More information about the jdk-sandbox-changes mailing list