-
Bug
-
Resolution: Fixed
-
P3
-
13
-
b18
New methods added by JDK-8219793 don't describe (or mismatch specified) scenarios when referenced path item is not present.
There's
"Throws: IOException if an I/O error occurs"
declaration, however for example the following code:
FileSystems.newFileSystem(Path.of("doesnotexist"));
generates
java.nio.file.FileSystemNotFoundException: doesnotexist
And FileSystemNotFoundException is not a subclass of IOException.
There's
"Throws: IOException if an I/O error occurs"
declaration, however for example the following code:
FileSystems.newFileSystem(Path.of("doesnotexist"));
generates
java.nio.file.FileSystemNotFoundException: doesnotexist
And FileSystemNotFoundException is not a subclass of IOException.
- csr for
-
JDK-8231267 (zipfs) FileSystemProvider.newFileSystem(Path, Map) should throw IOException when called with a file that cannot be open
-
- Closed
-
- duplicates
-
JDK-8223151 (zipfs) newFileSystem​() should not throw FileSystemAlreadyExistsException
-
- Closed
-
- relates to
-
JDK-8218875 (fs) Add FileSystems.newFileSystem(Path, Map<String, ?>) method
-
- Resolved
-
-
JDK-8219793 (fs) Add FileSystems.newFileSystem(Path, Map<String, ?>) method
-
- Closed
-