RFR: 8368528: HttpClient.Builder.connectTimeout should accept arbitrarily large values [v3]

Volkan Yazici vyazici at openjdk.org
Mon Nov 3 10:56:40 UTC 2025


> Introduce necessary fixes to address exceptions thrown when excessive `Duration`s are provided to `Duration`-accepting `HttpClient` public APIs.

Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:

  Simplify exception handling in `Deadline::between`
  
  Co-authored-by: Daniel Fuchs <67001856+dfuch at users.noreply.github.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27973/files
  - new: https://git.openjdk.org/jdk/pull/27973/files/856aea73..31b49b78

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

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

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


More information about the net-dev mailing list