[PATCH] 8004789 : (zipfs) zip provider doesn't work correctly with file systems providers rather than the default

Philippe Marschall philippe.marschall at gmail.com
Sun Dec 9 14:08:55 PST 2012


Hi

As discussed previously [1] here are the patches against JDK 7 and 8
to make the ZipFileSystem provider use Files#createTempFile instead of
File#createTempFile. This causes the temporary file to be created on
the same file system as the ZIP file resides on. This makes it
possible to run the zipfs provider on a file system other than the
default one.

This patch does not include any tests but I also could not find any
existing ones. If somebody wants tests I'd be happy to supply them
once instructed who to do them and where to put them.

I did already sign the OCA (for the BTrace project) [3].

 [1] http://mail.openjdk.java.net/pipermail/nio-dev/2012-December/002041.html
 [2] http://bugs.sun.com/view_bug.do?bug_id=8004789
 [3] http://www.oracle.com/technetwork/community/oca-486395.html#m

Cheers
Philippe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8004789-jdk7.patch
Type: application/octet-stream
Size: 2150 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20121209/5c680414/8004789-jdk7.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8004789-jdk8.patch
Type: application/octet-stream
Size: 2150 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20121209/5c680414/8004789-jdk8.patch 


More information about the nio-dev mailing list