On Sun, 21 Jul 2024 13:29:36 GMT, Technici4n <d...@openjdk.org> wrote:
> Hi, > > Here is a fix for https://bugs.openjdk.org/browse/JDK-8316882, following the > `FileChannelImpl#setUninterruptible` pattern used in `Files.readAllBytes` for > example. > > There has been some discussion on nio-dev about more broadly rethinking the > interrupt handling for `FileChannels`, for example by adding a new open > option. This PR is just meant to fix the ZipFS issue in the meanwhile. (Maybe > I will tackle the more general issue?). [1] [2] > > [1]: https://mail.openjdk.org/pipermail/nio-dev/2018-February/004756.html > [2]: https://mail.openjdk.org/pipermail/nio-dev/2024-April/016147.html This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/20274