Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.16.0
-
None
Description
In https://github.com/apache/commons-io/commit/99702ec5ce4c25a909299c4f4a8be616d8ce04dc BoundedInputStream was modified to use a CountingInputStream, and reset() no longer set the count to the mark, because count was retrieved from the other stream.
Then in https://github.com/apache/commons-io/commit/812d8a4b53d9758b4f081d9b98a70ea9ef131a0e the count field was added back in but reset() was not fixed to update the value of count when called.
This causes a regression, found when attempting to upgrade commons-compress.
Attachments
Issue Links
- is related to
-
COMPRESS-675 Regression in pack200's Archive class -- underlying InputStream is now closed
- Resolved