Skip to content

Commit 0090161

Browse files
committed
8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Backport-of: e681b4e9b3ae24f45d8c6adab4105df39e6b8a92
1 parent 7ae015f commit 0090161

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, 2021, 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
@@ -904,8 +904,8 @@ private ProtocolVersion negotiateProtocol(
904904
throw context.conContext.fatal(Alert.PROTOCOL_VERSION,
905905
"The client supported protocol versions " + Arrays.toString(
906906
ProtocolVersion.toStringArray(clientSupportedVersions)) +
907-
" are not accepted by server preferences " +
908-
context.activeProtocols);
907+
" are not accepted by server preferences " + Arrays.toString(
908+
ProtocolVersion.toStringArray(context.activeProtocols)));
909909
}
910910
}
911911

0 commit comments

Comments
 (0)