Integrated: 8356888: (fs) FileSystems.newFileSystem that take an env must specify IllegalArgumentException

Brian Burkhalter bpb at openjdk.org
Tue May 27 17:14:00 UTC 2025


On Thu, 22 May 2025 00:13:57 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> 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`.

This pull request has now been integrated.

Changeset: c1f066e1
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c1f066e17eacf7649df4042e2fb985da9724ef40
Stats:     17 lines in 1 file changed: 12 ins; 0 del; 5 mod

8356888: (fs) FileSystems.newFileSystem that take an env must specify IllegalArgumentException

Reviewed-by: lancea, alanb, jpai

-------------

PR: https://git.openjdk.org/jdk/pull/25376


More information about the nio-dev mailing list