On Mon, 13 Apr 2026 14:02:44 GMT, Volkan Yazici <[email protected]> wrote:

> Allow empty arrays in `HttpRequest.Builder#headers()`.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 877425a1
Author:    Volkan Yazici <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/877425a15825ae4e1eafa4c90807e05679e48474
Stats:     8 lines in 3 files changed: 1 ins; 2 del; 5 mod

8380989: HttpRequest.Builder#headers() throws an exception if an empty array is 
passed

Reviewed-by: dfuchs

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

PR: https://git.openjdk.org/jdk/pull/30708

Reply via email to