Integrated: 8369313: java/net/httpclient/TimeoutBasic.java should accept that HttpTimeoutException should be somewhere down the cause chain

Daniel Fuchs dfuchs at openjdk.org
Thu Oct 9 15:55:52 UTC 2025


On Wed, 8 Oct 2025 15:07:17 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> The TimeoutBasic.java test expects that HttpTimeoutException will be either the root cause, or the cause of the root cause of a CompletionException, while in fact it could be further down the cause chain. The test logic should be relaxed to allow that.
> 
> In addition I have logged a followup RFE ([JDK-8369315](https://bugs.openjdk.org/browse/JDK-8369315)) to possibly revisit the wrapping of HttpTimeoutExceptions.

This pull request has now been integrated.

Changeset: 9891cd69
Author:    Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9891cd69e442cdfa6fb76ecbd20391291f4bf6ad
Stats:     40 lines in 1 file changed: 26 ins; 11 del; 3 mod

8369313: java/net/httpclient/TimeoutBasic.java should accept that HttpTimeoutException should be somewhere down the cause chain

Reviewed-by: vyazici, jpai

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

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


More information about the net-dev mailing list