diff --git a/jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java b/jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java index 3920b35c37a..5fa8e0279d9 100644 --- a/jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java +++ b/jdk/src/share/classes/sun/security/ssl/ClientHandshaker.java @@ -377,8 +377,8 @@ final class ClientHandshaker extends Handshaker { 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);