Zip file system provider only works with default file system

Xueming Shen xueming.shen at
Sat Dec 8 11:54:12 PST 2012

On 12/8/12 11:40 AM, Philippe Marschall wrote:
> On Sat, Dec 8, 2012 at 8:33 PM, Xueming Shen <xueming.shen at> wrote:
>> ZFS tries to create a temporary file at the same directory as your zipfile
>> by invoking
>> the File.createTempFile().
> But it's done on the wrong file system. ZFS does it no the default
> file system, instead of the file system the ZIP file resides on.
This is why it's a bug:-) The temp file should be on your memory file 
system, not
the default file system ( only knows about the default one). 
So we
probably should not use the for the temporary file, if we 
are  not on
the default file system.

> Cheers
> Philippe

More information about the nio-dev mailing list