RFR: 8334339: CreationTime.java fails on alinux3
SendaoYan
syan at openjdk.org
Sun Jun 16 08:19:39 UTC 2024
Hi all,
The testcase `java/nio/file/attribute/BasicFileAttributeView/CreationTime.java` fails on alinux3(alibaba cloud linux version 3) after [JDK-8316304](https://bugs.openjdk.org/browse/JDK-8316304).
The testcase use /tmp directory to create the file and get the createtime of this file. But on alinux3(alibaba cloud linux version 3), the /tmp is mount as tmpfs, it's not a real physic disk paitition, it's mount from RAM, and the alinux3 doesn't support get the birth time on tmpfs.
On ubuntu 22, when I create a file on /dev/shm(it's also a tmpfs type partition), stat also doesn't support birth time.
-------------
Commit messages:
- 8334339: CreationTime.java fails on alinux3
Changes: https://git.openjdk.org/jdk/pull/19737/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19737&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8334339
Stats: 45 lines in 1 file changed: 37 ins; 0 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/19737.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19737/head:pull/19737
PR: https://git.openjdk.org/jdk/pull/19737
More information about the nio-dev
mailing list