[PATCH] JDK-8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails
Nathan Clement
nathan.a.clement at hotmail.com
Thu Dec 4 06:18:03 UTC 2014
Hi,
Here is my suggested fix for the FilterOuputStream issue in JDK-8054565. I have been running this fix in my applications for several weeks (by adding it to the bootstrap classpath) and it solves my issue. The fix creates a new member field to remember whether close has already been called on the stream, and if so, close() does nothing.
Attached is the output from hg diff -g
This is my first attempt at a patch for OpenJDK, so please let me know if I need to change anything.
Thanks,
Nathan
More information about the core-libs-dev
mailing list