[
https://issues.apache.org/jira/browse/COMPRESS-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844682#comment-17844682
]
Hudson commented on COMPRESS-675:
---------------------------------
SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk11 #1623 (See
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk11/1623/])
TIKA-4221 -- temporary workaround for COMPRESS-675 (#1686) -- fix merge
conflicts (#1750) (github:
[https://github.com/apache/tika/commit/84d05ad4ad7754735f8d7de9449ec52767ba1689])
* (edit)
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-pkg-module/src/main/java/org/apache/tika/parser/pkg/CompressorParser.java
> 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
> Affects Versions: 1.26.0, 1.26.1
> Reporter: Tim Allison
> Assignee: Gary D. Gregory
> 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)