commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <>
Subject [jira] [Commented] (COMPRESS-380) Support for ENHANCED_DEFLATED (Deflate64) in ZIP files
Date Fri, 05 Jan 2018 22:05:00 GMT


Dawid Weiss commented on COMPRESS-380:

Ran a super-quick sanity check on a huge zip of my local files (~8gb) and I get this.
Exception in thread "main" java.lang.NullPointerException
	at org.apache.commons.compress.compressors.deflate64.HuffmanDecoder.buildTree(
	at org.apache.commons.compress.compressors.deflate64.HuffmanDecoder.populateDynamicTables(
	at org.apache.commons.compress.compressors.deflate64.HuffmanDecoder.decode(
	at dweiss.Check.main(

I didn't even check what it is and have to run now.

> Support for ENHANCED_DEFLATED (Deflate64) in ZIP files
> ------------------------------------------------------
>                 Key: COMPRESS-380
>                 URL:
>             Project: Commons Compress
>          Issue Type: New Feature
>            Reporter: Dawid Weiss
>             Fix For: 1.16
>         Attachments:,,,,
compress-380.diff,, input2
> Some of the (large) ZIP files we try to process currently will throw this:
> {code}
> UnsupportedZipFeatureException: unsupported feature method 'ENHANCED_DEFLATED' 
> {code}
> which is a bummer since JDK's implementation also doesn't support Deflate64. This seems
to be PKWare's extensions, although code to decrypt it exists in zlib (and is appropriately
licensed, I believe).

This message was sent by Atlassian JIRA

View raw message