RFR: 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X

Brian Burkhalter bpb at openjdk.org
Fri Aug 5 03:11:24 UTC 2022


Use the BSD system call `setattrlist(2)` to set file modification, access, and creation time attributes on macOS.

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

Commit messages:
 - 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X

Changes: https://git.openjdk.org/jdk/pull/9762/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9762&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8151430
  Stats: 136 lines in 5 files changed: 127 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/9762.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9762/head:pull/9762

PR: https://git.openjdk.org/jdk/pull/9762


More information about the nio-dev mailing list