On Wed, 28 Jan 2026 11:05:44 GMT, Daniel Fuchs <[email protected]> wrote:

>> Changed; the InterruptedIOException does not set `error` anymore, so if the 
>> caller of `read()` chooses to clear the interrupted status, it's possible to 
>> keep reading from the stream after the exception.
>
> Maybe we should set `close = true` when we catch InterruptedException.

Changed; now resetting the stream and closing it are practically equivalent, 
They only differ in the exception thrown from `read`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29448#discussion_r2742062638

Reply via email to