Skip to content

Commit

Permalink
Backport e681b4e9b3ae24f45d8c6adab4105df39e6b8a92
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Jul 4, 2024
1 parent cdfb4e7 commit 91a5fdf
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, 2019, 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 @@ -905,8 +905,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

0 comments on commit 91a5fdf

Please sign in to comment.