FilterOutputStream.close() throws exception from flush()
Alan Bateman
Alan.Bateman at oracle.com
Mon May 5 14:47:40 UTC 2014
On 05/05/2014 15:40, Peter Levart wrote:
>
> Hi Alan,
>
> There has been a discussion about a year ago on this list:
>
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-April/015947.html
>
Yes, I remember this and also reviewed it for Joe. My point about it not
coming up before was in the context of BufferedWriter/etc where close
needs to flush. In that case then I think it would be more typically to
throw a new IOException each time.
I'll leave to Joe to comment on suggestion to drop self suppression.
-Alan
More information about the core-libs-dev
mailing list