Code Review Request, JDK-8214339 : SSLSocketImpl erroneously wraps SocketException

Xue-Lei Fan xuelei.fan at oracle.com
Fri Dec 14 16:14:32 UTC 2018


Hi,

Please review the update:
    http://cr.openjdk.java.net/~xuelei/8214339/webrev.00/

In some cases, the SSLProtocolException or SSLHandshakeException may be 
thrown if the underlying socket run into problems.  An application may 
depends on the exception class for further action, for example retry the 
connection with different parameters.

This update is trying to separate the socket problem from the TLS 
protocol or handshake problem, by using different exception classes.

Thanks,
Xuelei



More information about the security-dev mailing list