RFR: 8366817: test/jdk/javax/net/ssl/TLSCommon/interop/JdkProcServer.java and JdkProcClient.java should not delete logs [v2]
SendaoYan
syan at openjdk.org
Thu Sep 11 06:54:15 UTC 2025
On Fri, 5 Sep 2025 13:57:29 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`
>
> Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:
>
> copyright year
LGTM
-------------
Marked as reviewed by syan (Committer).
PR Review: https://git.openjdk.org/jdk/pull/27076#pullrequestreview-3209251622
More information about the security-dev
mailing list