RFR: 8367067: Improve exception handling in HttpRequest.BodyPublishers

Volkan Yazici vyazici at openjdk.org
Mon Sep 8 09:19:32 UTC 2025


Improves exception handling of built-in `HttpClient.BodyPublisher`s to ensure exceptions get propagated in a way compliant with the reactive specification.

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

Commit messages:
 - Merge remote-tracking branch 'upstream/master' into sendAsyncEx
 - Revert clean-up of redundant tests to keep PR focused
 - Minor improvements
 - Improve `FromPublisherTest`
 - Fix compilation errors
 - Merge branch 'sendAsyncEx2' into sendAsyncEx
 - More tests and improvements
 - Harden exception handling in request publishers
 - Revert redundant changes
 - Improve wording on nullability
 - ... and 6 more: https://git.openjdk.org/jdk/compare/bea2b029...2d0cc8d8

Changes: https://git.openjdk.org/jdk/pull/26876/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26876&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367067
  Stats: 1710 lines in 15 files changed: 1611 ins; 57 del; 42 mod
  Patch: https://git.openjdk.org/jdk/pull/26876.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26876/head:pull/26876

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


More information about the net-dev mailing list