Redo for 8237578: JDK-8214339 (SSLSocketImpl wraps SocketException) appears to not be fully fixed
This also fixes JDK-8259516: Alerts sent by peer may not be received correctly during TLS handshake ------------- Commit messages: - 8259662: SocketException should be passed through Changes: https://git.openjdk.java.net/jdk/pull/2057/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2057&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8259662 Stats: 488 lines in 7 files changed: 479 ins; 0 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/2057.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2057/head:pull/2057 PR: https://git.openjdk.java.net/jdk/pull/2057