java.nio.file.spi.AbstractPath?

Alan Bateman Alan.Bateman at Sun.COM
Mon Aug 24 14:58:40 PDT 2009


Vince Bonfanti wrote:
> The JavaDocs list an AbstractPath class, but I can't find an
> implementation anywhere:
>
>     http://java.sun.com/javase/7/docs/api/java/nio/file/spi/AbstractPath.html
>
> I've downloaded the May 19, 2009 binary snapshot (b101?) from the NIO2
> project page, and also the August 20, 2009 source bundle (b70?) from
> the OpenJDK download page, but neither contains AbstractPath.
>
> BTW, which of these is the latest? In general, what's the best way to
> get the latest source (other than via Mercurial--I have no experience
> with Mercurial--and I'm not sure I need to be that close to the
> bleeding edge anyway). Thanks.
>
> Vince
>   
There are weekly builds of jdk7 with periodic milestone releases.  At 
this time, the current build is b70 with milestone 5 coming at b73. You 
can find out more at the jdk7 project page (see the links to builds and 
milestones):
  http://openjdk.java.net/projects/jdk7/

For what you are doing, I would suggest tracking the weekly builds. The 
binaries and javadoc can be found here:
  http://download.java.net/jdk7/binaries/
  http://openjdk.java.net/projects/jdk7/builds/

The java.sun.com site serves up the milestone releases, the latest being 
m4 (b66). Unfortunately it seems the online javadoc hasn't been updated 
and it rather stale javadoc from b59. This is why you are seeing 
AbstractPath even though it is gone a long time. Sorry about that. I've 
just mailed the person that owns this to see if it can be fixed.

As regards the early access build from the nio project page - these were 
builds to allow folks try out the API and changes before going into 
jdk7. We haven't done a build available since May because everything is 
in jdk7 and all the fixes are going direct to jdk7. It's on my list to 
update the project page and direct readers to the jdk7 weekly builds.

The best way to get the latest sources is to clone the 
http://hg.openjdk.java.net/jdk7/jdk7 forest (Mercurial is relatively 
simple to use). You can browse the tip here:
  http://hg.openjdk.java.net/jdk7/jdk7/jdk/file/tip/

-Alan.


More information about the nio-discuss mailing list