RFR: 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Brian Burkhalter
bpb at openjdk.org
Fri Oct 11 15:41:11 UTC 2024
On Fri, 11 Oct 2024 14:37:00 GMT, Chen Liang <liach 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
>
> I hope we have an nio area engineer such as @bplb to review this too.
@liach Message received.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21462#issuecomment-2407670300
More information about the nio-dev
mailing list