-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: core-libs
-
None
-
Environment:
+ hostname -I
172.18.226.152 172.17.0.1
+ uname -a
Linux KP57 4.19.90-89.11.v2401.ky10.aarch64 #1 SMP Thu Apr 25 18:20:10 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
+ cat /etc/os-release
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Halberd)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Halberd)"
ANSI_COLOR="0;31"+ free -h
total used free shared buff/cache available
Mem: 509Gi 12Gi 397Gi 103Mi 100Gi 484Gi
Swap: 4.0Gi 60Mi 3.9Gi
+ lscpu
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 128
On-line CPU(s) list: 0-127
Thread(s) per core: 1
Core(s) per socket: 64
Socket(s): 2
NUMA node(s): 4
Vendor ID: HiSilicon
Model: 0
Model name: Kunpeng-920
Stepping: 0x1
BogoMIPS: 200.00
L1d cache: 8 MiB
L1i cache: 8 MiB
L2 cache: 64 MiB
L3 cache: 256 MiB
NUMA node0 CPU(s): 0-31
NUMA node1 CPU(s): 32-63
NUMA node2 CPU(s): 64-95
NUMA node3 CPU(s): 96-127
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1: Mitigation; __user pointer sanitization
Vulnerability Spectre v2: Not affected
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
+ ldd --version
ldd (GNU libc) 2.28
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 2087979
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 655350
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
+ java -version
openjdk version "25.0.2-internal" 2026-01-20
OpenJDK Runtime Environment (build 25.0.2-internal-a7cdb534)
OpenJDK 64-Bit Server VM (build 25.0.2-internal-a7cdb534, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (25.0.2-internal-a7cdb534) for linux-aarch64 JRE (25.0.2-internal-a7cdb534), built on 2025-08-26T01:47:27Z with gcc 10.3.0
+ jtreg -version
No java executable at /home/yansendao/git/jdk/build/linux-aarch64-server-release/images/jdk/bin/java
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git branch- (HEAD detached at 501fa2041a7)
master
+ head -n 1
+ git log -n 1
commit 501fa2041a77139a9ac42fef69f28b1fd50fee65
+ git status
HEAD detached at 501fa2041a7
nothing to commit, working tree clean
+ git diff
+ hostname -I 172.18.226.152 172.17.0.1 + uname -a Linux KP57 4.19.90-89.11.v2401.ky10.aarch64 #1 SMP Thu Apr 25 18:20:10 CST 2024 aarch64 aarch64 aarch64 GNU/Linux + cat /etc/os-release NAME="Kylin Linux Advanced Server" VERSION="V10 (Halberd)" ID="kylin" VERSION_ID="V10" PRETTY_NAME="Kylin Linux Advanced Server V10 (Halberd)" ANSI_COLOR="0;31" + free -h total used free shared buff/cache available Mem: 509Gi 12Gi 397Gi 103Mi 100Gi 484Gi Swap: 4.0Gi 60Mi 3.9Gi + lscpu Architecture: aarch64 CPU op-mode(s): 64-bit Byte Order: Little Endian CPU(s): 128 On-line CPU(s) list: 0-127 Thread(s) per core: 1 Core(s) per socket: 64 Socket(s): 2 NUMA node(s): 4 Vendor ID: HiSilicon Model: 0 Model name: Kunpeng-920 Stepping: 0x1 BogoMIPS: 200.00 L1d cache: 8 MiB L1i cache: 8 MiB L2 cache: 64 MiB L3 cache: 256 MiB NUMA node0 CPU(s): 0-31 NUMA node1 CPU(s): 32-63 NUMA node2 CPU(s): 64-95 NUMA node3 CPU(s): 96-127 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Vulnerable Vulnerability Spectre v1: Mitigation; __user pointer sanitization Vulnerability Spectre v2: Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm + ldd --version ldd (GNU libc) 2.28 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. + ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 2087979 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 655350 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited + java -version openjdk version "25.0.2-internal" 2026-01-20 OpenJDK Runtime Environment (build 25.0.2-internal-a7cdb534) OpenJDK 64-Bit Server VM (build 25.0.2-internal-a7cdb534, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (25.0.2-internal-a7cdb534) for linux-aarch64 JRE (25.0.2-internal-a7cdb534), built on 2025-08-26T01:47:27Z with gcc 10.3.0 + jtreg -version No java executable at /home/yansendao/git/jdk/build/linux-aarch64-server-release/images/jdk/bin/java + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git branch (HEAD detached at 501fa2041a7) master + head -n 1 + git log -n 1 commit 501fa2041a77139a9ac42fef69f28b1fd50fee65 + git status HEAD detached at 501fa2041a7 nothing to commit, working tree clean + git diff - (HEAD detached at 501fa2041a7)
-
aarch64
-
linux
java.lang.RuntimeException: Assertion failed
at Basic.assertTrue(Basic.java:57)
at Basic.testFileAttributes(Basic.java:77)
at Basic.doTests(Basic.java:112)
at Basic.main(Basic.java:49)
FileStore.supportsFileAttributeView("dos") return false, but Files.getFileAttributeView(file, viewClass) return none null, cause this test report fails.
I created a demo shows this fails.
1. The tested directory located in "/" disk partition:
> rm -rf tmp ; mkdir -p tmp ; java Test.java tmp
FileStore.supportsFileAttributeView(viewClass) = true
FileStore.supportsFileAttributeView(viewName) = true
Files.getFileAttributeView(file, viewClass) sun.nio.fs.LinuxDosFileAttributeView@a4102b8
2. The tested directory localted in "/tmp" disk partition:
> rm -rf /tmp/tmp ; mkdir -p /tmp/tmp ; java Test.java /tmp/tmp
FileStore.supportsFileAttributeView(viewClass) = false
FileStore.supportsFileAttributeView(viewName) = false
Files.getFileAttributeView(file, viewClass) sun.nio.fs.LinuxDosFileAttributeView@a4102b8
- relates to
-
JDK-8361183 JDK-8360887 needs fixes to avoid cycles and better tests (aix)
-
- Resolved
-
- links to
-
Review(master)
openjdk/jdk/28281