8332524: Instead of printing "TLSv1.3," it is showing "TLS13"

Reviewed-by: mullan
This commit is contained in:
nibjen 2024-06-18 13:28:37 +00:00 committed by Sean Mullan
parent fa401f37df
commit e681b4e9b3

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -903,8 +903,8 @@ final class ClientHello {
throw context.conContext.fatal(Alert.PROTOCOL_VERSION,
"The client supported protocol versions " + Arrays.toString(
ProtocolVersion.toStringArray(clientSupportedVersions)) +
" are not accepted by server preferences " +
context.activeProtocols);
" are not accepted by server preferences " + Arrays.toString(
ProtocolVersion.toStringArray(context.activeProtocols)));
}
}