RFR: 8316882: Add NOT_INTERRUPTIBLE OpenOption and use it in ZipFS
Alan Bateman
alanb at openjdk.org
Thu Dec 26 07:08:38 UTC 2024
On Wed, 25 Dec 2024 23:55:18 GMT, Bruno Ploumhans <duke at openjdk.org> wrote:
> Here is a fix for https://bugs.openjdk.org/browse/JDK-8316882.
>
> Following discussion in nio-dev a while ago, I have opted to add a new `NOT_INTERRUPTIBLE` open option, superseding `FileChannelImpl#setUninterruptible`.
The core issue is that FileChannel is an InterruptibleChannel. We've discussed several times on nio-dev about adding an open option to allow the channel be non-interruptible. None of these discussions concluded satisfactorily. If we do it then most of the work will be implications and FileChannel's specification. It looks like you've missed that part and focused on implementation changes. So I think this PR should be closed, please restart the discussion on nio-dev.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22882#issuecomment-2562233527
More information about the core-libs-dev
mailing list