Skip to content

Commit 68a9e01

Browse files
committed
8259517: Incorrect test path in test cases
Reviewed-by: xuelei Backport-of: 81db63e
1 parent 389ac32 commit 68a9e01

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2004, 2021, 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
@@ -152,7 +152,7 @@ private static void trySmallBufs(SSLEngine ssle,
152152

153153
// For unwrap(), the BUFFER_OVERFLOW will not be generated
154154
// until received SSL/TLS application data.
155-
// Test test/javax/net/ssl/NewAPIs/SSLEngine/LargePacket will check
155+
// Test test/jdk/javax/net/ssl/SSLEngine/LargePacket.java will check
156156
// BUFFER_OVERFLOW/UNDERFLOW for both wrap() and unwrap().
157157
//
158158
//res = ssle.unwrap(netBB, smallAppBB);
@@ -172,7 +172,7 @@ private static void trySmallBufsArray(SSLEngine ssle,
172172

173173
// For unwrap(), the BUFFER_OVERFLOW will not be generated
174174
// until received SSL/TLS application data.
175-
// Test test/javax/net/ssl/NewAPIs/SSLEngine/LargePacket will check
175+
// Test test/jdk/javax/net/ssl/SSLEngine/LargePacket.java will check
176176
// BUFFER_OVERFLOW/UNDERFLOW for both wrap() and unwrap().
177177
//
178178
//res = ssle.unwrap(netBB, smallAppBB, 0, appBB.length);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2021, 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
@@ -177,7 +177,7 @@ public static void main(String args[]) throws Exception {
177177

178178
// For unwrap(), the BUFFER_OVERFLOW will not be generated
179179
// until received SSL/TLS application data.
180-
// Test test/javax/net/ssl/NewAPIs/SSLEngine/LargePacket will check
180+
// Test test/jdk/javax/net/ssl/SSLEngine/LargePacket.java will check
181181
// BUFFER_OVERFLOW/UNDERFLOW for both wrap() and unwrap().
182182
//
183183
//if (ssle.unwrap(smallBB, smallBB).getStatus() !=

test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2021, 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
@@ -62,8 +62,8 @@
6262
* Template to help speed your client/server tests.
6363
*
6464
* Two examples that use this template:
65-
* test/sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java
66-
* test/sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java
65+
* test/jdk/sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java
66+
* test/jdk/sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java
6767
*/
6868
public class SSLSocketTemplate {
6969

0 commit comments

Comments
 (0)