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

Roland Mesde duke at openjdk.org
Mon Feb 2 18:57: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)

This pull request has now been integrated.

Changeset: a88ccec8
Author:    Roland Mesde <mesde at amazon.com>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/a88ccec86ee28ae66d47babcb5c6dfd66a48c205
Stats:     10 lines in 1 file changed: 2 ins; 5 del; 3 mod

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

Backport-of: 576f9694b092f2a11a6a4e5a82c2b0e12203bd9c

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

PR: https://git.openjdk.org/jdk25u-dev/pull/193


More information about the jdk-updates-dev mailing list