Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Output Stream is closed during patch apply #6

Closed
andrewhayden opened this issue May 11, 2016 · 0 comments
Closed

Output Stream is closed during patch apply #6

andrewhayden opened this issue May 11, 2016 · 0 comments

Comments

@andrewhayden
Copy link
Contributor

The patch applier is close()ing the stream that is passed in because it traps the PartiallyDeflatingOutputStream in a finally block and close()'s there for safety. This should be a flush(), not a close(), as we don't own the output stream that is being used and other operations may need to be performed prior to close().

Don't close() the stream!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant