Mercurial > hg > icedtea8-forest > jdk
changeset 14950:30b59c809b5f
Merge
author | andrew |
---|---|
date | Wed, 17 Feb 2021 03:55:00 +0000 |
parents | 93c3c4ddd1f0 (current diff) aec205dc9672 (diff) |
children | 97302801cfa2 |
files | |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/classes/sun/security/ssl/SSLSocketImpl.java Tue Feb 16 02:16:06 2021 +0000 +++ b/src/share/classes/sun/security/ssl/SSLSocketImpl.java Wed Feb 17 03:55:00 2021 +0000 @@ -1180,9 +1180,11 @@ } catch (SSLHandshakeException she) { // may be record sequence number overflow throw conContext.fatal(Alert.HANDSHAKE_FAILURE, she); - } catch (IOException e) { - throw conContext.fatal(Alert.UNEXPECTED_MESSAGE, e); - } + } catch (SSLException ssle) { + throw conContext.fatal(Alert.UNEXPECTED_MESSAGE, ssle); + } // re-throw other IOException, which should be caused by + // the underlying plain socket and could be handled by + // applications (for example, re-try the connection). // Is the sequence number is nearly overflow, or has the key usage // limit been reached?