ZipOutputStream & directories
Eirik Bjørsnøs
eirbjo at gmail.com
Tue Mar 7 08:44:33 UTC 2023
>
> It would require re-specifying ZOS.setMethod to set the default
> compression method for non-directory entries and re-specifying
> ZOS.putNextEntry to use the STORED method as the default for directory
> entries. Even so, this wouldn't ensure that directory entries have 0 size.
> Given that ZOS dates from JDK 1.1 then I think we have to cautious about
> changing.
>
I added a note to the Solution section in the suggested CSR documenting
this as a road not taken.
Eirik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230307/b811c143/attachment.htm>
More information about the core-libs-dev
mailing list