RFR: 8329829: HttpClient: Add a BodyPublishers.ofFileChannel method [v3]

Volkan Yazici vyazici at openjdk.org
Fri Jul 18 09:44:36 UTC 2025


On Mon, 7 Jul 2025 12:31:00 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Improve docs on `IndexOutOfBoundsException` thrown
>>   
>>   Co-authored-by: Daniel Fuchs <67001856+dfuch at users.noreply.github.com>
>
> src/java.net.http/share/classes/java/net/http/HttpRequest.java line 744:
> 
>> 742:          * found to be {@linkplain Objects.checkFromIndexSize(long, long, long) out of bounds}
>> 743:          * compared with the size of the file referred by the channel
>> 744:          */
> 
> Please add a `@since 26` tag.

Added in 4a9e303bfcc.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26155#discussion_r2215596474


More information about the net-dev mailing list