On Fri, 28 Aug 2026 11:04:35 GMT, Lee Jiwon <[email protected]> wrote:

>> Replaces the fixed delay in `IsAvailable.java` with reads from the socket 
>> used by `HttpClient::available`.
>> The tests wait for EOF or data on that socket before invoking the existing 
>> `HttpClient::available` assertion.
>> 
>> No production code is changed.
>> 
>> Testing:
>> - `make test TEST='test/jdk/sun/net/www/http/HttpClient/IsAvailable.java' 
>> JTREG='REPEAT_COUNT=200;VERBOSE=summary;RETAIN=fail'` (200/200 passed)
>> - `make test TEST='test/jdk/sun/net/www/http/HttpClient/IsAvailable.java' 
>> JTREG='VERBOSE=summary;RETAIN=fail;VM_OPTIONS=-Dsun.net.client.defaultReadTimeout=200'`
>>  (passed)
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Lee Jiwon has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8390064: Apply batched suggestions from code review
>   
>   Co-authored-by: Volkan Yazıcı <[email protected]>

@dlwldnjs1009 
Your change (at version a40d868e98c69f6ef69a72d3c8b50f54496b4b11) is now ready 
to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/32539#issuecomment-5452760578

Reply via email to