8242292: java.nio.file.FileSystems.getFileSystem(URI) should throw IAE if the URI's scheme is null

Alan Bateman Alan.Bateman at oracle.com
Tue Apr 7 19:24:33 UTC 2020


On 07/04/2020 19:33, Brian Burkhalter wrote:
> Please review the change included below to address [1] in hope of 
> shedding some light on [2].
The change looks okay as it's an oversight that it throws NPE rather 
than IAE then the URI doesn't have a scheme. We should probably update 
one of the existing tests for this case.

-Alan


More information about the nio-dev mailing list