RFR: 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3 [v2]
Alan Bateman
alanb at openjdk.org
Fri Jun 21 14:56:10 UTC 2024
On Mon, 17 Jun 2024 12:04:38 GMT, SendaoYan <syan at openjdk.org> wrote:
> In some [situation](https://serverfault.com/questions/1128612/birth-time-of-files-are-missing-if-file-is-created-in-a-logical-volume-with-size), the ext4 file type doesn't support `birth time`, so use `Files.getFileStore(file).type()` determine whether a file support `birth time` or not is not quite accurate.
The concern with forking stat is that it complicates the test and creates more things to go wrong. If the change could be reduced to just skipping when the creation time is 0 then I think it should be okay.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19737#issuecomment-2182908239
More information about the nio-dev
mailing list