<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 12/04/2024 20:34, Bruno Ploumhans wrote:<br>
<blockquote type="cite" cite="mid:CAH225XjOpE73QEEqfj6d+uFEGK9r+oxHCdjmMs37_-6hZwj7Dw@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">:
I am inclined to believe that Files.readAllBytes is doing the right
thing, so I would propose 3 fix strategies:
1. Change Files.newByteChannel to call setUninterruptible() on FileChannelImpl.
2. Call setUninterruptible() on FileChannelImpl from ZipFS.
3. Same as 2. but with the addition of a new API method for
setUninterruptible, to expose the same functionality to other FS
implementations.
</pre>
</blockquote>
We've had previous discussion on this topic [1], it may be time to
think about this again. <br>
<br>
-Alan<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://mail.openjdk.org/pipermail/nio-dev/2018-February/004756.html">https://mail.openjdk.org/pipermail/nio-dev/2018-February/004756.html</a><br>
</body>
</html>