Kaladhar Reddy Mummadi created COMPRESS-551:
-----------------------------------------------
Summary: GeneralPurposeBit has no compression level information
Key: COMPRESS-551
URL: https://issues.apache.org/jira/browse/COMPRESS-551
Project: Commons Compress
Issue Type: Bug
Reporter: Kaladhar Reddy Mummadi
[https://github.com/apache/commons-compress/blob/rel/1.20/src/main/java/org/apache/commons/compress/archivers/zip/GeneralPurposeBit.java]
When _putArchiveEntry_ is called and _localHeaders_ are generated, *Compression
level* information is always *0.*
According to section 4.4.4 in
[https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT] *Bit 1 and 2*
should consists of compression level info.
But zips generated has level `0` always even when I change level using
*setLevel* API on *ZipArchiveOutputStream*
Expected behavior is to have level information in local headers of an entry.
Compressing of data works fine, just that correct level is not baked into
localHeader.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)