8054565: FilterOutputStream.close may throw IOException if called twice and underlying flush or close failsReviewed-by: alanb, prappoContributed-by: Chris Hegarty <chris.hegarty@oracle.com>, Nathan Clement <nathan.a.clement@hotmail.com>
7015589: (spec) BufferedWriter.close leaves stream open if close of underlying Writer failsReviewed-by: forax, mduigou