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

Severin Gehwolf sgehwolf at openjdk.org
Mon Sep 9 08:07:21 UTC 2024


On Mon, 2 Sep 2024 11:03:26 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Clean backport to improve compatibility with JDK 21 versions which didn't support birth time. I.e. on those systems now last-modified-time is being returned when the `statx` syscall didn't fill in the birth time (is not supported for this filesystem). Proposing as a critical fix so as to get it into 21.0.5.
> 
> CSR for 21-pool and 17-pool is the same as for JDK head and is approved.

This pull request has now been integrated.

Changeset: c4d39f30
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.org/jdk21u/commit/c4d39f3041374d27bae385fbca9a467cb19cda5b
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)

Backport-of: c89a1c35bda9002ee687b3fa267f3ef9cba78b00

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

PR: https://git.openjdk.org/jdk21u/pull/450


More information about the jdk-updates-dev mailing list