Unable to create a zip file using the Zip filesystem provider anymore?

Xueming Shen xueming.shen at oracle.com
Fri Apr 29 17:20:28 UTC 2016


On 04/29/2016 10:17 AM, Francis Galiegue wrote:
> Hello,
>
> [...]
>> Why do you need to create an empty file? an empty is not an empty zip file.
>> An empty zip file need to have at least a "END" table.
>>
> Yes, I know. Which was created before. And which it isn't anymore.

my bad. guess i misunderstood what you tried to say.

> Ie, Collections.map("create", "true") worked before but does not work
> anymore. And therein lies the "bug".
>

You meant map("create", true) works but does not work anymore ? again, I don't
think it ever worked (?), as the original code is

this.createNew    = "true".equals(env.get("create"));

so it should always be "false" if a boolean true is passed in ( but, yes, it might be
desired to support the "boolean true/false").

hmm, we might have a "ghost" version somewhere.

-sherman

> Regards,



More information about the nio-dev mailing list