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.

Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
This commit is contained in:
Vedran Pavic 2025-10-07 15:30:38 +02:00
parent ff9a349271
commit 727febac30
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ class JdkClientHttpRequest extends AbstractStreamingClientHttpRequest {
/** /**
* Temporary workaround to use instead of {@link HttpRequest.Builder#timeout(Duration)} * 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 * is fixed. Essentially, create a future with a timeout handler, and use it
* to close the response. * to close the response.
* @see <a href="https://mail.openjdk.org/pipermail/net-dev/2021-October/016672.html">OpenJDK discussion thread</a> * @see <a href="https://mail.openjdk.org/pipermail/net-dev/2021-October/016672.html">OpenJDK discussion thread</a>