Re: RFR: 8316882: Add NOT_INTERRUPTIBLE OpenOption and use it in ZipFS

2025-01-10 Thread Alan Bateman
On Fri, 10 Jan 2025 13:14:36 GMT, Sean Mullan wrote: >> src/java.base/share/classes/jdk/internal/jimage/BasicImageReader.java line >> 112: >> >>> 110: opts.add(StandardOpenOption.READ); >>> 111: // No lambdas during bootstrap >>> 112: AccessController.doPrivi

Re: RFR: 8316882: Add NOT_INTERRUPTIBLE OpenOption and use it in ZipFS

2025-01-10 Thread Sean Mullan
On Fri, 10 Jan 2025 08:22:37 GMT, Chen Liang 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`. > > src/ja

Re: RFR: 8316882: Add NOT_INTERRUPTIBLE OpenOption and use it in ZipFS

2025-01-10 Thread Chen Liang
On Wed, 25 Dec 2024 23:55:18 GMT, Bruno Ploumhans 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`. src/java.

Re: RFR: 8316882: Add NOT_INTERRUPTIBLE OpenOption and use it in ZipFS

2024-12-25 Thread Alan Bateman
On Wed, 25 Dec 2024 23:55:18 GMT, Bruno Ploumhans 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

RFR: 8316882: Add NOT_INTERRUPTIBLE OpenOption and use it in ZipFS

2024-12-25 Thread Bruno Ploumhans
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`. - Commit messages: - remove \r characters in test - 8316882: Ad