You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.