Using NIO2 for writing zip file entries without corresponding folder entries
Rafael Winterhalter
rafael.wth at gmail.com
Wed Oct 10 11:31:49 UTC 2018
Hi,
I was wondering why the ZipFileSystem checked for the existence of a file's
parents before writing a file. Writing folder entries is not a requirement
in the specification for zip files and I find it strange that the
implementation enforces it. I found that even to be problematic when
altering a zip file where NIO2 requires you to add folder entries that did
not exist before.
Thanks for the information.
Best regards, Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20181010/9c5c8335/attachment.html>
More information about the nio-dev
mailing list