tballison commented on PR #512: URL: https://github.com/apache/commons-compress/pull/512#issuecomment-2040238019
@garydgregory This is either user error or something is really wrong with unpack. I couldn't get this test to pass with a tar archive stream or a zip archive stream -- different results! I couldn't get this test to pass with a FIleInputStream, a BufferedInputStream(ByteArrayInputStream) or a Files.newInputStream(archive.toPath) In the debugger on the Tika issue, I can see that Unpack unwraps down to a ChannelInputStream and then closes the underlying file. I can see similar behavior in this unit test if I open with Files.newInputStream()...so that's what you can use to replicate what we're seeing on Tika. I'm perplexed that I can't get anything to pass, though... again, probably user error. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
