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

Fernando Guallini fguallini at openjdk.org
Fri Sep 5 13:57:29 UTC 2025


> 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`

Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:

  copyright year

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27076/files
  - new: https://git.openjdk.org/jdk/pull/27076/files/66bef867..ca980721

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27076&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27076&range=00-01

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/27076.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27076/head:pull/27076

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


More information about the security-dev mailing list