On Fri, 7 Aug 2026 08:59:01 GMT, Volkan Yazici <[email protected]> wrote:

>> Document that `java.net.http.HttpResponse#body()` can return null.
>> 
>> ---------
>> - [X] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Volkan Yazici has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Make the change normative

Looks good to me. As @jaikiran suggested privately,  I wonder if we should also 
mention that if a BodyHandler implementation produces a `null` body then 
`HttpResponse::body` will return `null`.

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

PR Comment: https://git.openjdk.org/jdk/pull/32196#issuecomment-5215927122

Reply via email to