RFR: 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+
Alan Bateman
alanb at openjdk.org
Fri Dec 9 13:25:58 UTC 2022
On Thu, 8 Dec 2022 19:42:56 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> I agree about reporting it to Apple, but I commented above because the changes starting at line 42 probably would work around most cases and do not need the `FileStore`. The second group of changes could be removed.
APFS became the default file system in macOS 10.13 so I don't know how common it is to see HFS+ these days. Although we expect it should be rare to be changing the last access time, my concern is that finding the mount point to get the file system type can be problematic in some configurations. It would be good if we could avoid the workaround so I'm interested to see if Apple will fix the bug or not.
-------------
PR: https://git.openjdk.org/jdk/pull/11600
More information about the nio-dev
mailing list