[PATCH] JDK-8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close fails

Pavel Rappo pavel.rappo at oracle.com
Fri Dec 5 11:38:07 UTC 2014

+1, I couldn’t say better


> On 5 Dec 2014, at 01:18, Vitaly Davidovich <vitalyd at gmail.com> wrote:
> Attempting to make close() atomic just makes the next reader
> confused when the rest of the class isn't and may also penalize single
> threaded callers of close().

More information about the core-libs-dev mailing list