-
Sub-task
-
Resolution: Delivered
-
P4
-
21.0.2, 22
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8331956 | 21.0.2 | Marc Palmerjohnson | P4 | Resolved | Delivered |
On Linux (kernel version 4.11 or newer, glibc version 2.28 or newer), `BasicFileAttributes.creationTime` now returns the creation or birth time of the file through the `stx_btime` element of `struct statx`. In previous JDK releases, the last modified time was returned. If the birth time is supported by the platform but not by the file system, then the epoch `1970-01-01T00:00:00Z` is returned.
- backported by
-
JDK-8331956 Release Note: `BasicFileAttributes.creationTime` Returns Birth Time on Linux
- Resolved
- links to