Skip to content

Commit

Permalink
8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Browse files Browse the repository at this point in the history
Backport-of: e681b4e9b3ae24f45d8c6adab4105df39e6b8a92
  • Loading branch information
MBaesken committed Jul 4, 2024
1 parent 34175fc commit cba69c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/java.base/share/classes/sun/security/ssl/ClientHello.java
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -903,8 +903,8 @@ private ProtocolVersion negotiateProtocol(
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)));
}
}

Expand Down

1 comment on commit cba69c8

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.