On Fri, 31 Oct 2025 10:22:06 GMT, EunHyunsu <[email protected]> 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 <[email protected]>
Committer: Daniel Fuchs <[email protected]>
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

Reply via email to