jdk.zipfs?

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Apr 20 02:11:45 PDT 2012


So should the source code really be in demos, then?

/Magnus

20 apr 2012 kl. 09:32 skrev Alan Bateman <Alan.Bateman at oracle.com>:

> On 20/04/2012 08:03, Erik Joelsson wrote:
>> While playing around with compiling the modules in the jdk, I noticed that there is one called "jdk.zipfs", which seems to contain com.sun.nio.zipfs.ZipFileSystemProvider which is part of the nio/zipfs demo. Is including this as a module intentional or just an accident?
>> 
>> /Erik
> jdk.zipfs has the zip file system provider:
> 
> $ jmod ls jdk.zipfs -v
> 
> jdk.zipfs at 8-ea
>  requires jdk.base@=8-ea
>  provides service java.nio.file.spi.FileSystemProvider with com.sun.nio.zipfs.ZipFileSystemProvider
> 
> So will be loaded (as a service) via the FileSystems API if needed.
> 
> -Alan
> 
> 
> 
> 
> 



More information about the jigsaw-dev mailing list