RFR: 8294047: HttpResponseInputStream swallows interrupts [v2]
Darragh Clarke
duke at openjdk.org
Fri Nov 25 16:44:18 UTC 2022
On Fri, 25 Nov 2022 16:13:20 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> So something in utils like `return new InterruptedIOException(String.valueOf(exxeption));` ?
>
> 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?
-------------
PR: https://git.openjdk.org/jdk/pull/11323
More information about the net-dev
mailing list