RFR: 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
Alan Bateman
alanb at openjdk.org
Wed Aug 28 09:14:32 UTC 2024
On Tue, 27 Aug 2024 18:28:23 GMT, Alexey Bakhtin <abakhtin at openjdk.org> wrote:
> It may not be so important for the jdk project, but it is critical for statx and copy_file_range backports to previous jdk versions because it causes regression in a particular environment.
Is your issue with main line or with builds of JDK 21u (or 17u)? Asking because it was very surprising to see that JDK-8316304 was back ported to those releases due to the compatibility impact.
For main line and this PR, I don't think we should be testing statx in UnixNativeDispatcher.init. It's not the same thing the copy_file_range usage in the FileChannel.transferTo implementation as there it is file descriptor specific.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20484#issuecomment-2314770435
More information about the nio-dev
mailing list