RFR: 8361106: [TEST] com/sun/net/httpserver/Test9.java fails with java.nio.file.FileSystemException

Alan Bateman alanb at openjdk.org
Mon Nov 3 12:21:05 UTC 2025


On Mon, 3 Nov 2025 11:06:35 GMT, serhiysachkov <duke at openjdk.org> wrote:

> [TEST] com/sun/net/httpserver/Test9.java fails with java.nio.file.FileSystemException

test/jdk/com/sun/net/httpserver/Test9.java line 126:

> 124:                 executor.shutdown ();
> 125:             Files.delete(smallFilePath);
> 126:             Files.delete(largeFilePath);

Wouldn't it be better to have the test wait until the HttpsServer have stopped and the executor has terminated?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28108#discussion_r2486286222


More information about the net-dev mailing list