Skip to content

Commit 437b5e9

Browse files
author
duke
committed
Backport c0c76703bc10d5caa1cda7e2820d0702df5b8008
1 parent 89c5659 commit 437b5e9

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

test/jdk/javax/net/ssl/TLSCommon/interop/AbstractPeer.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2025, 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
@@ -49,13 +49,6 @@ protected void printLog() throws IOException {
4949
System.out.println(Utilities.readFile(logPath).orElse(""));
5050
}
5151

52-
/*
53-
* Deletes log file if exists.
54-
*/
55-
protected void deleteLog() throws IOException {
56-
Utilities.deleteFile(getLogPath());
57-
}
58-
5952
/*
6053
* The negotiated application protocol.
6154
*/

test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2025, 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
@@ -148,7 +148,6 @@ protected Path getLogPath() {
148148
@Override
149149
public void close() throws IOException {
150150
printLog();
151-
deleteLog();
152151
}
153152

154153
public static void main(String[] args) throws Exception {

test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcServer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2020, 2025, 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
@@ -166,7 +166,6 @@ public void signalStop() {
166166
public void close() throws IOException {
167167
printLog();
168168
deletePort();
169-
deleteLog();
170169
}
171170

172171
private static int readPort() {

0 commit comments

Comments
 (0)