Integrated: 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)

Brian Burkhalter bpb at openjdk.org
Thu Aug 22 21:44:06 UTC 2024


On Tue, 20 Aug 2024 21:21:10 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Set the value returned by `BasicFileAttributes.creationTime()` on Linux to the birth time, if available, otherwise return the last modified time.

This pull request has now been integrated.

Changeset: c89a1c35
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c89a1c35bda9002ee687b3fa267f3ef9cba78b00
Stats:     21 lines in 1 file changed: 12 ins; 0 del; 9 mod

8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)

Reviewed-by: sgehwolf, alanb

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

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


More information about the nio-dev mailing list