RFR: 8294047: HttpResponseInputStream swallows interrupts [v2]

Daniel Fuchs dfuchs at openjdk.org
Fri Nov 25 17:11:17 UTC 2022


On Fri, 25 Nov 2022 16:41:35 GMT, Darragh Clarke <duke at openjdk.org> wrote:

>> No something that would call `initCause(ex)` to set the root cause - as AFAICS there's no constructor that takes a root cause.
>
> ah ok, so create a new `InterruptedIOException` and set the initcause to be the `interruptedException`.
> is there anything else that would need to be set?

preserving the root cause is the main thing.

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

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


More information about the net-dev mailing list