Zip file system provider only works with default file system
xueming.shen at oracle.com
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 oracle.com> 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
the default file system (java.io.File only knows about the default one).
probably should not use the java.io.File for the temporary file, if we
are not on
the default file system.
More information about the nio-dev