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

Roland Mesde duke at openjdk.org
Wed Jan 28 19:41:07 UTC 2026


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

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

Commit messages:
 - Backport 576f9694b092f2a11a6a4e5a82c2b0e12203bd9c

Changes: https://git.openjdk.org/jdk25u-dev/pull/193/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=193&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361106
  Stats: 10 lines in 1 file changed: 2 ins; 5 del; 3 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/193.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/193/head:pull/193

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


More information about the jdk-updates-dev mailing list