-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 18
-
b16
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8274474 | 17.0.2 | Thejasvi Voniadka | P4 | Resolved | Fixed | b01 |
JDK-8274473 | 11.0.14-oracle | Thejasvi Voniadka | P4 | Resolved | Fixed | b01 |
JDK-8275044 | 11.0.14 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
The ZipFSTester.java generates the basic.jar for testing.
However, if the path has plus character, the following string will be delivered to the newZipFileSystem method:
jdk-ls+18/build/linux-loongarch64-server-release/test-support/jtreg_test_jdk_jdk_nio_zipfs_ZipFSTester_java/scratch/0/basic.jar
After processing via URLDecoder.decode within newZipFileSystem, the "+" is replaced by " ":
jdk-ls 18/build/linux-loongarch64-server-release/test-support/jtreg_test_jdk_jdk_nio_zipfs_ZipFSTester_java/scratch/0/basic.jar
Then, the FileSystems.newFileSystem method will raise java.nio.file.NoSuchFileException for the inexistent "jdk-ls 18" path.
TEST RESULT: Failed. Execution failed: `main' threw exception: java.nio.file.NoSuchFileException: jdk-ls 18/build/linux-loongarch64-server-release/test-support/jtreg_test_jdk_jdk_nio_zipfs_ZipFSTester_java/scratch/0/basic.jar
- backported by
-
JDK-8274473 jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character
-
- Resolved
-
-
JDK-8274474 jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character
-
- Resolved
-
-
JDK-8275044 jdk/nio/zipfs/ZipFSTester.java fails if file path contains '+' character
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/bcee700e
-
Commit openjdk/jdk17u/c2d1db9c
-
Commit openjdk/jdk/7f78803b
-
Review openjdk/jdk11u-dev/501
-
Review openjdk/jdk17u/92
-
Review openjdk/jdk/5574