RFR: 8377796: java.net.http.HttpClient.send() and sendAsync() never complete when BodyHandler.apply() returns null [v4]
Daniel Fuchs
dfuchs at openjdk.org
Fri Feb 13 18:43:07 UTC 2026
On Fri, 13 Feb 2026 17:30:48 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> Can I please get a review of this change which proposes to address the issue noted in https://bugs.openjdk.org/browse/JDK-8377796?
>>
>> The change here asserts that if `BodyHandler.apply()` returns `null`, then the HTTP request completes exceptionally. A new test has been introduced to reproduce the issue and verify the fix.
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>
> undo unintentional whitespace changes during merge conflict resolution
LGTM
-------------
Marked as reviewed by dfuchs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29691#pullrequestreview-3798860910
More information about the net-dev
mailing list