Open
Description
While SytemFileSystem.resolve
is documented as throwing FileNotFoundException this behaviour seems unnecessary for the stated goal of resolving an absolute path.
Behaviour is inconsistent with java.io.File.absolutePath
(and canonicalPath
), neither of which fail on a non-existing file.
There doesn't appear to be any other mechanism to get an absolute path from a Path
.
Proposing that SytemFileSystem.resolve
does not throw FileNotFoundException
, instead leaving it to consumers of the Path to handle existence in the context of using that path.