RFR: 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+
Alan Bateman
alanb at openjdk.org
Thu Dec 8 19:40:07 UTC 2022
On Thu, 8 Dec 2022 19:13:03 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> If the path is on an HFS store, use the generic Unix implementation of `java.nio.file.attribute.BasicFileAttributeView::setTimes`to set the last access time.
I don't think we should put in this workaround as it requires getting the FileStore each time that the last access time is set. This seems like a macOS bug that should be reported to Apple first.
-------------
PR: https://git.openjdk.org/jdk/pull/11600
More information about the nio-dev
mailing list