Update JdkClientHttpRequest javadoc

This commit updates `JdkClientHttpRequest.TimeoutHandler` javadoc to
reference up-to-date JDK issue that tracks improvements to HTTP client's
request timeout handling.

Closes gh-35581

Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
This commit is contained in:
Vedran Pavic
2025-10-22 15:39:43 +02:00
committed by Brian Clozel
parent 2f66c07b0d
commit c5ec169c83
@@ -267,7 +267,7 @@ class JdkClientHttpRequest extends AbstractStreamingClientHttpRequest {
/**
* Temporary workaround to use instead of {@link HttpRequest.Builder#timeout(Duration)}
* until <a href="https://bugs.openjdk.org/browse/JDK-8258397">JDK-8258397</a>
* until <a href="https://bugs.openjdk.org/browse/JDK-8208693">JDK-8208693</a>
* is fixed. Essentially, create a future with a timeout handler, and use it
* to close the response.
* @see <a href="https://mail.openjdk.org/pipermail/net-dev/2021-October/016672.html">OpenJDK discussion thread</a>