jdk.zipfs?

Alan Bateman Alan.Bateman at oracle.com
Fri Apr 20 00:32:08 PDT 2012


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