[ 
https://issues.apache.org/jira/browse/COMPRESS-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Allison updated COMPRESS-675:
---------------------------------
    Summary: Regression in pack200's Archive class -- underlying InputStream is 
now closed   (was: Regression in )

> Regression in pack200's Archive class -- underlying InputStream is now closed 
> ------------------------------------------------------------------------------
>
>                 Key: COMPRESS-675
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-675
>             Project: Commons Compress
>          Issue Type: Bug
>            Reporter: Tim Allison
>            Priority: Major
>
> On TIKA-4221, on our recent regression tests, we noticed a change in the 
> behavior of Pack200's Archive class. In 1.26.0, the unwrapping of the 
> FilterInputStreams 
> (https://github.com/apache/commons-compress/blob/68cd2e7fb488b4ad8a9fdc81cae97ae6e8248ea5/src/main/java/org/apache/commons/compress/harmony/unpack200/Pack200UnpackerAdapter.java#L66)
>  effectively disables CloseShieldInputStreams, which means that the 
> underlying stream is closed after the parse.
> This causes problems when a Pack200 file is inside of an ArchiveInputStream.
> Not sure of the best solution. There's a triggering file on the Tika issue. 
> We can implement a crude workaround until this is fixed in commons-compress.
> Thank you!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to