8366817: test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcServer.java and JdkProcClient.java should not delete logs

Reviewed-by: syan, rhalade
This commit is contained in:
Fernando Guallini 2025-11-04 15:20:22 +00:00
parent d4622b2cea
commit c0c76703bc
3 changed files with 3 additions and 12 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2025, 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
@ -49,13 +49,6 @@ public abstract class AbstractPeer implements Peer {
System.out.println(Utilities.readFile(logPath).orElse(""));
}
/*
* Deletes log file if exists.
*/
protected void deleteLog() throws IOException {
Utilities.deleteFile(getLogPath());
}
/*
* The negotiated application protocol.
*/

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2025, 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
@ -148,7 +148,6 @@ public class JdkProcClient extends AbstractClient {
@Override
public void close() throws IOException {
printLog();
deleteLog();
}
public static void main(String[] args) throws Exception {

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2025, 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
@ -166,7 +166,6 @@ public class JdkProcServer extends AbstractServer {
public void close() throws IOException {
printLog();
deletePort();
deleteLog();
}
private static int readPort() {