Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316304 (fs) Add support for BasicFileAttributes.creationTime() for Linux
  3. JDK-8331874

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.

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

                Created:
                Updated:
                Resolved: