Skip to content

Commit 0f9d6bf

Browse files
committed
8247510: typo in IllegalHandshakeMessage
Backport-of: 1faed20
1 parent f62113a commit 0f9d6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/javax/net/ssl/SSLEngine/IllegalHandshakeMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2020, 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
@@ -70,7 +70,7 @@ public static void main(String args[]) throws Exception {
7070
cliToSrv.put(7, (byte)0x80); // use illegal message length
7171
} else {
7272
// unlikely
73-
throw new Exception("No handshage message generated.");
73+
throw new Exception("No handshake message is generated.");
7474
}
7575

7676
try {

0 commit comments

Comments
 (0)