Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.12.0
-
None
-
None
Description
Classes that extend FilterOutputStream and BufferedOutputStream must override the close method because the default implementation ignores IOExceptions that occur during the flush method. This has caused us to lose critical information about the sources of errors. sigh While looking over the code base for such problems, I found the code in IPC Client.java with this problem.
More generally, we should probably have util classes that replace the Java ones that have a better default for close. (and a better default for FilterOutputStream.write(byte[], int, int) too...)