[
https://issues.apache.org/jira/browse/COMPRESS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867152#action_12867152
]
Sebb commented on COMPRESS-91:
------------------------------
There is no difference currently between JarArchiveInputStream and
ZipArchiveInputStream - the former is a subclass of the latter, but the
behaviour is identical.
So although it is true that jar files are currently treated as zip files, it
does not affect the behaviour of the InputStream.
> jar recognition is curently impossible.
> ---------------------------------------
>
> Key: COMPRESS-91
> URL: https://issues.apache.org/jira/browse/COMPRESS-91
> Project: Commons Compress
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: W2K and unbuntu JRE1.4 to 1.6.
> Reporter: Torelli
> Priority: Minor
>
> In ArchiveStreamFactory.createArchiveInputStream(final InputStream in),
> JarArchiveInputStream must be before ZipArchiveInputStream
> and a positive jar identification have to be confirmed by the first file
> entry (META-INF/MANIFEST.MF).
> Regards.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.