Hi, Please find below a fix for: 8216498: Confusing and unneeded wrapping of SSLHandshakeException https://bugs.openjdk.java.net/browse/JDK-8216498
Webrev: http://cr.openjdk.java.net/~dfuchs/webrev_8216498/webrev.00/ When an IOException occurs in the java.net.http HTTP/1.1 stack it eventually gets re-wrapped in another IOException that provides a more detailed message about the state of the parser at the point where the exception was raised. This however gets confusing if the original exception that gets wrapped is an SSLHandshakeException, as the state of the parser is usually not useful in that case, and the important information (about the handshake failure) then gets buried down the exception stack. This webrev alters the wrapping logic to not re-wrap the SSLHandshakeException. best regards, -- daniel