RFR: 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3

SendaoYan syan at openjdk.org
Mon Oct 14 12:35:20 UTC 2024


On Fri, 11 Oct 2024 03:14:40 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> On alinux3(alibaba cloud linux version 3) system, the /tmp disk partition is mounted as tmpfs filesystem type, this filesystem type doesn't support create time(birth time).
> This PR is a REDO PR of https://github.com/openjdk/jdk/pull/20687, the diffrent is delete `#include <linux/fcntl.h>` and add `#define AT_SYMLINK_NOFOLLOW 0x100` `#define AT_FDCWD -100`, because the linux header `<linux/fcntl.h>` file can't work on centos6.
> If anyone at Oracle can help me verify this PR, which include build and jtreg tier1 test, I will be quite appreciate for that.
> 
> Additional testing:
> 
> - [x] build and test on alinux3
> - [x] compile libCreationTimeHelper.c in centos6 docker container

Thanks all for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/21462#issuecomment-2411100191


More information about the nio-dev mailing list