mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
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:
parent
d4622b2cea
commit
c0c76703bc
@ -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.
|
||||
*/
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user