[
https://issues.apache.org/jira/browse/COMPRESS-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12789924#action_12789924
]
Jukka Zitting commented on COMPRESS-93:
---------------------------------------
In revision 890088 I made the code degrade more gracefully by only throwing an
IOException with a more descriptive message when such an unsupported zip entry
is actually being read or written. I also added a
ZipArchiveEntry.isSupportedCompressionMethod() method that downstream clients
can use to explicitly skip such entries and thus avoid the exception.
> Support for alternative ZIP compression methods
> -----------------------------------------------
>
> Key: COMPRESS-93
> URL: https://issues.apache.org/jira/browse/COMPRESS-93
> Project: Commons Compress
> Issue Type: New Feature
> Reporter: Jukka Zitting
>
> As reported in TIKA-346, a ZIP file that uses a compression method other than
> STORED (0) or DEFLATED (8) will cause an IllegalArgumentException ("invalid
> compression method") to be thrown.
> It would be great if commons-compress supported alternative compression
> methods or at least degraded more gracefully when encountering them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.