8214339: SSLSocketImpl erroneously wraps SocketException

Reviewed-by: ascarpino, jnimeh
This commit is contained in:
Xue-Lei Andrew Fan 2018-12-14 19:39:39 -08:00
parent e44207a9f6
commit 3933c8477b
6 changed files with 726 additions and 25 deletions

View file

@ -823,8 +823,8 @@ final class KeyShareExtension {
}
if (selectedGroup == null) {
shc.conContext.fatal(Alert.UNEXPECTED_MESSAGE,
new IOException("No common named group"));
shc.conContext.fatal(
Alert.UNEXPECTED_MESSAGE, "No common named group");
return null; // make the complier happy
}