Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The field ByteArrayOutputStream.count is always accessed in a synchronised block, apart from when the user calls toBufferedInputStream().
This seems wrong.
Similarly for the count field in CountingOutputStream.beforeWrite(int n)
Attachments
Attachments
Issue Links
- relates to
-
IO-201 CountingInputStream/CountingOutputStream only partially synchronized
- Closed