RFR: 8209137: Add ability to bind to specific local address to HTTP client [v9]
Jaikiran Pai
jpai at openjdk.java.net
Thu Feb 3 12:35:55 UTC 2022
On Wed, 2 Feb 2022 10:37:54 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>>
>> minor - rename variable in test
>
> src/java.net.http/share/classes/java/net/http/HttpClient.java line 376:
>
>> 374: * correct {@code localAddr} is passed. Failure to do so can result in
>> 375: * requests sent through the {@code HTTPClient} to fail.
>> 376: *
>
> `{@code HTTPClient}` should probably `{@code HttpClient}` since that's how the class is named.
You are right, that was an oversight. I've now fixed it in the latest update to this PR.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6690
More information about the net-dev
mailing list