-
Bug
-
Resolution: Fixed
-
P4
-
21, 22
-
b03
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8319248 | 21.0.2 | Goetz Lindenmaier | P4 | Resolved | Fixed | b05 |
JDK-8319063 | 17.0.11-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8319470 | 17.0.10 | Goetz Lindenmaier | P4 | Resolved | Fixed | b02 |
JDK-8319064 | 11.0.23-oracle | Ramesh Gangadhar | P4 | Resolved | Fixed | b01 |
JDK-8325007 | 11.0.23 | Andrew Lu | P4 | Resolved | Fixed | b02 |
The test case (java/nio/file/Files/CopyAndMove.java) fail with java.nio.file.NoSuchFileException: ./name1692782213124882428/link when it is a different volume/file system.
The createSymbolicLink(link, source) failed to create a symbolic link because a relative path was used.
STDERR:
dir1: /tmp/name7460415070033184926 (xfs)
dir2: ./name3202546005695331436 (ext4)
java.nio.file.NoSuchFileException: ./name3202546005695331436/link
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystem.copy(UnixFileSystem.java:1005)
at java.base/sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:300)
at java.base/java.nio.file.Files.copy(Files.java:1303)
at CopyAndMove.copyAndVerify(CopyAndMove.java:662)
at CopyAndMove.testCopyFileToFile(CopyAndMove.java:914)
at CopyAndMove.main(CopyAndMove.java:74)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
- backported by
-
JDK-8319063 java/nio/file/Files/CopyAndMove.java fails when using second test directory
- Resolved
-
JDK-8319064 java/nio/file/Files/CopyAndMove.java fails when using second test directory
- Resolved
-
JDK-8319248 java/nio/file/Files/CopyAndMove.java fails when using second test directory
- Resolved
-
JDK-8319470 java/nio/file/Files/CopyAndMove.java fails when using second test directory
- Resolved
-
JDK-8325007 java/nio/file/Files/CopyAndMove.java fails when using second test directory
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/54ada105
-
Commit openjdk/jdk17u-dev/340a389a
-
Commit openjdk/jdk21u/599b30d1
-
Commit openjdk/jdk/cfae6ef2
-
Review openjdk/jdk11u-dev/2495
-
Review openjdk/jdk17u-dev/1936
-
Review openjdk/jdk21u/306
-
Review openjdk/jdk/14436