On Wed, 3 Sep 2025 17:02:11 GMT, Fernando Guallini <[email protected]> 
wrote:

> The following test helpers delete logs after the test completes:
> jdk/javax/net/ssl/TLSCommon/interop/JdkProcServer.java
> jdk/javax/net/ssl/TLSCommon/interop/JdkProcClient.java
> 
> These helpers are used by tests located in 
> jdk/javax/net/ssl/compatibility/*.java. Instead of explicitly deleting logs, 
> cleanup should be handled by JTREG, as with other tests.
> 
> It is possible that the server process is still writing to this log when it 
> tries to delete it, which could cause :
>  
> `java.nio.file.FileSystemException: server.log: The process cannot access the 
> file because it is being used by another process`

This pull request has now been integrated.

Changeset: c0c76703
Author:    Fernando Guallini <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/c0c76703bc10d5caa1cda7e2820d0702df5b8008
Stats:     12 lines in 3 files changed: 0 ins; 9 del; 3 mod

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

Reviewed-by: syan, rhalade

-------------

PR: https://git.openjdk.org/jdk/pull/27076

Reply via email to