[ 
https://issues.apache.org/jira/browse/JCRVLT-258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16316137#comment-16316137
 ] 

Konrad Windszus commented on JCRVLT-258:
----------------------------------------

Just switching the default to {{DEFAULT_COMPRESSION}} will trigger the issue 
observed in JCRVLT-257 (at least on more recent Unix systems, leveraging a more 
recent zlib library). So at least a detection for the faulty zlib/java version 
must be included.

> Default compression level incorrectly set to NO_COMPRESSION (0)
> ---------------------------------------------------------------
>
>                 Key: JCRVLT-258
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-258
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 3.1.40
>            Reporter: Konrad Windszus
>
> Default compression level has been changed in this commit from 
> {{Deflater#DEFAULT_COMPRESSION}} (-1) to {{DEFLATER#NO_COMPRESSION}} (0): 
> https://github.com/apache/jackrabbit-filevault/commit/9515a785d4e6aa60503969023eadc0832f8c181b#diff-7c56322ea0d87bb499663bdee9c41967R40
> The original patch from JCRVLT-163 contained -1 (which was IMHO correct and 
> is also more in line on how packages have been created prior to JCRVLT-163).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to