RFR: 8343785: (fs) Remove syscalls that set file times with microsecond precision [v2]

Martin Doerr mdoerr at openjdk.org
Wed Nov 13 11:59:56 UTC 2024


On Wed, 13 Nov 2024 09:59:07 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8343785: Use file descriptor in preference to path; add AIX to test @requires
>
> src/java.base/unix/classes/sun/nio/fs/UnixFileAttributeViews.java line 83:
> 
>> 81:             int fd = -1;
>> 82:             try {
>> 83:                 fd = file.openForAttributeAccess(followLinks);
> 
> This throws if O_NOFOLLOW is not supported. Are there any platforms where this is possible?

I believe some old AIX versions. But they are no longer supported. We require 7.2.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21989#discussion_r1840129031


More information about the nio-dev mailing list