[jdk17u-dev] RFR: 8359477: com/sun/net/httpserver/Test12.java appears to have a temp file race

Goetz Lindenmaier goetz at openjdk.org
Thu Oct 16 10:03:45 UTC 2025


Clean backport form 21. 

Test does not compile as https://bugs.openjdk.org/browse/JDK-8277090 8277090: jsr166 refresh for jdk19
is not in 17.  That change makes ExecutorService implement Autoclosable.

Replaced missing close() by its implementation.

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

Commit messages:
 - replace close() introduced in 19 by 8277090 but its implementation
 - backport e1681c48287bcce6c8f617d9c0c25354dd62870a

Changes: https://git.openjdk.org/jdk17u-dev/pull/4055/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4055&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359477
  Stats: 166 lines in 2 files changed: 60 ins; 65 del; 41 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/4055.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4055/head:pull/4055

PR: https://git.openjdk.org/jdk17u-dev/pull/4055


More information about the jdk-updates-dev mailing list