> 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]>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/32539/files
  - new: https://git.openjdk.org/jdk/pull/32539/files/02c99a1d..a40d868e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=32539&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32539&range=01-02

  Stats: 14 lines in 1 file changed: 5 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/32539.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32539/head:pull/32539

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

Reply via email to