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

duke duke at openjdk.org
Mon Feb 2 15:26:48 UTC 2026


On Wed, 28 Jan 2026 18:48:51 GMT, Roland Mesde <duke at openjdk.org> wrote:

> Backporting JDK-8361106: [TEST] com/sun/net/httpserver/Test9.java fails with java.nio.file.FileSystemException.
> 
> This PR fixes the intermittent file deletion failures in the test, primarily occurring on Windows due to file handle management.
> 
> For parity with Oracle JDK.
> 
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
> 
> make test TEST=test/jdk/com/sun/net/httpserver/Test9.java
> 
> Results attached:
> 
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/24942943/linux-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/24942944/linux-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/24942945/macos-aarch64-specific-test.log)
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/24942946/windows-x64-specific-test.log)

@rm-gh-8 
Your change (at version 8309c1d1f07bcd18297b02d445fd3c23eae19acc) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/193#issuecomment-3835834826


More information about the jdk-updates-dev mailing list