[jdk21u] RFR: 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux

Severin Gehwolf sgehwolf at openjdk.org
Mon Oct 23 11:59:54 UTC 2023


Please review this backport of adding creation time support on Linux where the filesystem supports it. The patch is not clean, since the JDK 22 uses JEP 454 features in the test. I've rewritten the test to use JNI instead so as to avoid using `@enablePreview` in the test. Otherwise, the patch is identical to the head version.

Testing:
- [ ] GHA (still running)
- [x] nio tests (all pass)
- [x] Build tests on all major Linux architectures and Mac OSX, AIX so as to cover some of the unix branches. All good.

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

Commit messages:
 - Backport 0275efac882d263f85a723828a95d621f8dadbfb

Changes: https://git.openjdk.org/jdk21u/pull/282/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk21u&pr=282&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316304
  Stats: 315 lines in 6 files changed: 299 ins; 0 del; 16 mod
  Patch: https://git.openjdk.org/jdk21u/pull/282.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u.git pull/282/head:pull/282

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


More information about the jdk-updates-dev mailing list