[jdk17u-dev] RFR: 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations

Goetz Lindenmaier goetz at openjdk.org
Sun Oct 26 19:12:42 UTC 2025


I backport this for parity with 17.0.18-oracle.

Clean backport, but need to adapt as HttpClient does not implement
AutoClosable in 17.  
Omitted calls to close, test is run as othervm.

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

Commit messages:
 - HttpClient not ASutoClosable in 17
 - backport 4f864faf428c8171be975a79db5bc2bc145f8805
 - backport a74ebd048ae569296619c112c23169c46b571863

Changes: https://git.openjdk.org/jdk17u-dev/pull/4109/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4109&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8314136
  Stats: 71 lines in 1 file changed: 27 ins; 9 del; 35 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/4109.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4109/head:pull/4109

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


More information about the jdk-updates-dev mailing list