RFR: 8356888: (fs) FileSystems.newFileSystem that take an env must specify IllegalArgumentException [v2]
Brian Burkhalter
bpb at openjdk.org
Thu May 22 15:33:36 UTC 2025
> Add a throws clause for `IllegalArgumentException` to the `java.nio.file.FileSystems` methods `newFileSystem(Path, Map)` and `newFileSystem(Path, Map, ClassLoader)`. Also update the equivalent IAE verbiage for the analogous methods which accept a `URI` parameter instead of a `Path`.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8356888: Added @since 13 to newFileSystem(Path,C;assLoader)
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25376/files
- new: https://git.openjdk.org/jdk/pull/25376/files/03e3df16..982ef6d6
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25376&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25376&range=00-01
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/25376.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25376/head:pull/25376
PR: https://git.openjdk.org/jdk/pull/25376
More information about the nio-dev
mailing list