commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject [compress] Archiver Detection fails
Date Thu, 26 Feb 2009 06:31:58 GMT
Hi,

I recently figured out that a compress created zip file doesn't
necessary match the signature of
ZipArchiveInputStream.matches(...)

For example:
AbstractTestCase.createArchive creates a zip archive with several files in it.

The resulting zip archive cannot be matched in
ArchiveStreamFactory.createArchiveInputStream(xxx)

and a little debuggin showed me that the expected signature really
differs from the actual.
Choosing the Implementation manually and extracting the file is no problem.

I know there was some implementation in that area recently, any ideas
why this happens?

Cheers,
Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message