OpenJDK / jdk / hs
changeset 8782:1ff0b643b793
7009794: misleading text in SSLHandshakeException exception message
Summary: update the warning message
Reviewed-by: weijun
author | xuelei |
---|---|
date | Mon, 14 Mar 2011 09:05:06 -0700 |
parents | 1ecbd60a9024 |
children | 2ea9207f2fad 29a6801dcf6f |
files | jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java Sun Mar 13 17:09:55 2011 +0800 +++ b/jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java Mon Mar 14 09:05:06 2011 -0700 @@ -377,8 +377,8 @@ ProtocolVersion mesgVersion = mesg.protocolVersion; if (!isNegotiable(mesgVersion)) { throw new SSLHandshakeException( - "Server chose unsupported or disabled protocol: " + - mesgVersion); + "Server chose " + mesgVersion + + ", but client does not support or disables " + mesgVersion); } handshakeHash.protocolDetermined(mesgVersion);