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

Severin Gehwolf sgehwolf at openjdk.org
Mon Sep 2 14:05:18 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, but would need a review before I can submit it. If anyone is willing to review it, I'd appreciate it. Thanks!

MacosX aarch64 failure of [serviceability/sa/ClhsdbFindPC#no-xcomp-process](https://github.com/jerboaa/jdk21u/actions/runs/10665821124#user-content-serviceability_sa_clhsdbfindpc#no-xcomp-process) seems unrelated to this patch.

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

PR Comment: https://git.openjdk.org/jdk21u/pull/450#issuecomment-2324832119


More information about the jdk-updates-dev mailing list