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

EunHyunsu duke at openjdk.org
Sat Nov 1 15:43:03 UTC 2025


On Fri, 31 Oct 2025 15:26:19 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> @Michael-Mc-Mahon I believe this change doesn't require a CSR since it's just fixing an example.
> 
> @ehs208 did you generate `make docs-jdk-api` and verify that the generated API documentation correctly displays the new changes?

I built the Javadoc locally using `make docs-jdk-api` and confirmed that the
HttpClient example now renders correctly.

The `HttpRequest` declaration appears properly before the `send` call,
matching the asynchronous example style in the generated docs.

<img width="2618" height="1398" alt="image" src="https://github.com/user-attachments/assets/f2b931e5-ee42-4dd6-8373-69010e85765b" />

(Attached is a screenshot from the generated docs:)

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

PR Comment: https://git.openjdk.org/jdk/pull/28084#issuecomment-3476469813


More information about the net-dev mailing list