RFR: 8366817: test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcServer.java and JdkProcClient.java should not delete logs
Mikhail Yankelevich
myankelevich at openjdk.org
Fri Sep 5 13:44:11 UTC 2025
On Wed, 3 Sep 2025 17:02:11 GMT, Fernando Guallini <fguallini at openjdk.org> 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`
Looks good to me. Could you just update the copyright dates please
-------------
PR Review: https://git.openjdk.org/jdk/pull/27076#pullrequestreview-3189430478
More information about the security-dev
mailing list