Release Note: `BasicFileAttributes.creationTime` Returns Birth Time on Linux

XMLWordPrintable

    • generic
    • linux

        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.

              Assignee:
              Brian Burkhalter
              Reporter:
              Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: