RFR: 8369313: java/net/httpclient/TimeoutBasic.java should accept that HttpTimeoutException should be somewhere down the cause chain
Jaikiran Pai
jpai at openjdk.org
Thu Oct 9 15:45:39 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 looks OK to me.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27694#pullrequestreview-3319561810
More information about the net-dev
mailing list