How to .resolve*() and .relativize() Paths which are not issued from the same FileSystem?
Alan Bateman
Alan.Bateman at oracle.com
Tue Dec 2 10:50:42 UTC 2014
On 01/12/2014 19:13, Francis Galiegue wrote:
> As I said: an empty path _for which filesystem_? The one associated
> with the path you try to .resolveSibling() against or the one of the
> path given as an argument? This is what the documentation is not clear
> about (without even going to the provider level).
>
I see your point and answering this comes back to how a custom provider
is suppose to behave when it has distinct FileSystem implementations. I
need to think about this issue a bit more as changing anything here
risks creating inconsistencies between resolve/resolveSibling/relativize
so great care is required. Hopefully get back to you in a few days when
I find time.
-Alan.
More information about the nio-dev
mailing list