On Fri, 14 Nov 2025 14:56:58 GMT, Daniel Fuchs <[email protected]> wrote:

>> Daisuke Yamazaki has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Replace IOException with EOFException for unexpected EOF in 
>> FileServerHandler
>
> test/jdk/com/sun/net/httpserver/simpleserver/FileServerHandlerTest.java line 
> 146:
> 
>> 144:                         1000L, "bytes=100-199,300-399,150-350",
>> 145:                         new FileServerHandler.RangeEntry(100,399)
>> 146:                 },
> 
> Can we add a test with duplicated ranges too? e.g.
> 
> `0-99,200-399,0-99,400-499,200-499`

I added a test case for duplicated ranges, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28021#discussion_r2573900611

Reply via email to