Skip to content

Commit e681b4e

Browse files
nibjenseanjmullan
authored andcommitted
8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Reviewed-by: mullan
1 parent fa401f3 commit e681b4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java.base/share/classes/sun/security/ssl/ClientHello.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -903,8 +903,8 @@ private ProtocolVersion negotiateProtocol(
903903
throw context.conContext.fatal(Alert.PROTOCOL_VERSION,
904904
"The client supported protocol versions " + Arrays.toString(
905905
ProtocolVersion.toStringArray(clientSupportedVersions)) +
906-
" are not accepted by server preferences " +
907-
context.activeProtocols);
906+
" are not accepted by server preferences " + Arrays.toString(
907+
ProtocolVersion.toStringArray(context.activeProtocols)));
908908
}
909909
}
910910

0 commit comments

Comments
 (0)