Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
The NonFlushableOutputStream that is used when ProcessSession.append is called extends from FilterOutputStream but does not override the write methods. As a result, calls to NonFlushableOutputStream.write(byte[]) or NonFlushableOutputStream.write(byte[], int, int) will not delegate those calls to the underlying OutputStream but will instead iterate over every byte in the given array calling OutputStream.write(int) for each byte individually, which is inefficient.
Attachments
Issue Links
- links to