RFR: 8367067: Improve exception handling in HttpRequest.BodyPublishers [v2]

Volkan Yazici vyazici at openjdk.org
Thu Sep 18 09:28:20 UTC 2025


On Wed, 10 Sep 2025 09:48:36 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> @dfuch, where shall I carry out that change?
>> 
>> 1. In this PR?
>> 2. In a follow-up a PR?
>> 3. In a parallel PR to be merged before this one?
>
> hmm... I see the `jdk.httpclient.bufsize` property is documented in module-info.java. So let's keep the code as you have it now (with the IAE) and do the clamping in a folowup. That will allow us to improve the documentation for that property.

Created [JDK-8367976] to address this.

[JDK-8367976]: https://bugs.openjdk.org/browse/JDK-8367976

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26876#discussion_r2358207559


More information about the net-dev mailing list