RFR: 8303923: ZipOutStream::putEntry should include an apiNote to indicate that the STORED compression method should be used when writing directory entries [v3]
Eirik Bjorsnos
duke at openjdk.org
Thu Apr 6 20:32:19 UTC 2023
On Sun, 19 Mar 2023 14:50:41 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:
>> ZipOutputStream currently writes directory entries using the DEFLATED compression method. This does not strictly comply with the APPNOTE.TXT specification and is also about 10x slower than using the STORED compression method.
>>
>> Because of these concerns, `ZipOutputStream.putNextEntry` should be updated with an `@apiNote` recommending
>> the use of the STORED compression method for directory entries.
>>
>> Suggested CSR in the first comment.
>
> Eirik Bjorsnos has updated the pull request incrementally with one additional commit since the last revision:
>
> Remove speculation that using DEFLATED for directory entries is not in strict compliance with APPNOTE.txt
I moved the CSR for this PR into the Proposed state. The CSR is now looking for reviewers.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/12899#issuecomment-1499585675
More information about the core-libs-dev
mailing list