RFR: 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Severin Gehwolf
sgehwolf at openjdk.org
Fri Oct 11 08:51:12 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
Seems fine to me.
-------------
Marked as reviewed by sgehwolf (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/21462#pullrequestreview-2362293125
More information about the nio-dev
mailing list