Integrated: 8371009: HttpClient javadoc synchronous example missing HttpRequest variable declaration

EunHyunsu duke at openjdk.org
Wed Nov 5 15:00:50 UTC 2025


On Fri, 31 Oct 2025 10:22:06 GMT, EunHyunsu <duke at openjdk.org> wrote:

> Fixes JDK-8371009.
> 
> The synchronous HttpClient example references `request` without defining it.
> This patch adds a minimal HttpRequest initialization immediately before the
> synchronous example (mirroring the asynchronous snippet) so the example
> compiles and runs as-is.

This pull request has now been integrated.

Changeset: 973dc3fc
Author:    EunHyunsu <ehs208 at naver.com>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/973dc3fc47b249bb392d277880dcac0940f62771
Stats:     5 lines in 1 file changed: 4 ins; 0 del; 1 mod

8371009: HttpClient javadoc synchronous example missing HttpRequest variable declaration

Reviewed-by: dfuchs, michaelm

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

PR: https://git.openjdk.org/jdk/pull/28084


More information about the net-dev mailing list