RFR: 8371009: HttpClient javadoc synchronous example missing HttpRequest variable declaration [v3]

Daniel Fuchs dfuchs at openjdk.org
Tue Nov 4 15:38:05 UTC 2025


On Tue, 4 Nov 2025 11:11:26 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.
>
> EunHyunsu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8371009: fix indent

Marked as reviewed by dfuchs (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/28084#pullrequestreview-3417147285


More information about the net-dev mailing list