sun.nio.fs.AbstractPath
Alan Bateman
Alan.Bateman at oracle.com
Fri Dec 13 01:01:56 PST 2013
On 13/12/2013 08:24, Kasper Nielsen wrote:
> Hi,
>
> I know that not many people are implementing java.nio.file.Path.
> But any chance the methods in sun.nio.fs.AbstractPath
> could be put into java.nio.file.Path?
>
Now that we have default methods then this should be possible to move
the implementations to Path and get rid of sun.nio.fs.AbstractPath. It
needs a bit of javadoc work and a small adjustment to toFile but
otherwise I think they can move. As you say, this is only a help to
those developing their own file system implementations but still a good
idea. I will create a bug for this.
-Alan
More information about the nio-dev
mailing list