-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 27
-
Component/s: core-libs
-
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 10Gi 462Gi 355Mi 36Gi 486Gi
Swap: 4.0Gi 990Mi 3.0Gi
+ 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 "26" 2026-09-15
OpenJDK Runtime Environment HJDK-0 (build 26+-5f083aba)
OpenJDK 64-Bit Server VM HJDK-0 (build 26+-5f083aba, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (26+-5f083aba) for linux-aarch64 JRE (26+-5f083aba), built on 2025-12-07T14:31:40Z 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- master
+ head -n 1
+ git log -n 1
commit 8c86b1bb1054b565cf23156d89ee8925a4e32597
+ 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 10Gi 462Gi 355Mi 36Gi 486Gi Swap: 4.0Gi 990Mi 3.0Gi + 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 "26" 2026-09-15 OpenJDK Runtime Environment HJDK-0 (build 26+-5f083aba) OpenJDK 64-Bit Server VM HJDK-0 (build 26+-5f083aba, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (26+-5f083aba) for linux-aarch64 JRE (26+-5f083aba), built on 2025-12-07T14:31:40Z 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 master + head -n 1 + git log -n 1 commit 8c86b1bb1054b565cf23156d89ee8925a4e32597 - master
-
b08
-
generic
-
linux
The test log snippet shows below:
java.nio.file.AtomicMoveNotSupportedException: file -> file: Invalid cross-device link
at java.base/sun.nio.fs.UnixSecureDirectoryStream.move(UnixSecureDirectoryStream.java:223)
at java.base/sun.nio.fs.UnixSecureDirectoryStream.move(UnixSecureDirectoryStream.java:42)
at SecureDS.doMoveTests(SecureDS.java:304)
at SecureDS.main(SecureDS.java:60)
/tmp directory was mount to tmpfs:
> mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
- caused by
-
JDK-8367284 (fs) Support current working directory target in SecureDirectoryStream.move
-
- Resolved
-
- relates to
-
JDK-8377018 Convert java/nio/file/DirectoryStream/SecureDS.java to junit
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/caf13382
-
Review(master)
openjdk/jdk/29487