On Thu, 2 Jul 2026 21:45:07 GMT, Benjamin Peterson <[email protected]> 
wrote:

> Make `MinimalFuture` cancelation atomic. This prevents HTTP request 
> cancelation logic from racily completing the future with an error.
> 
> 
> 
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 333deb2c
Author:    Benjamin Peterson <[email protected]>
Committer: Daniel Fuchs <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/333deb2cc63d8a16600a09e5f933c2a5091fda3d
Stats:     62 lines in 3 files changed: 36 ins; 14 del; 12 mod

8380967: Canceled HttpClient.sendAsync futures throw inconsistent exceptions

Reviewed-by: dfuchs

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

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

Reply via email to