On Tue, Nov 17, 2009 at 8:53 AM, Tim Ellison <t.p.elli...@gmail.com> wrote:

> Now I've gone back and looked, they were never the real last 10 lines of
> the close() method.  More a case of, rather than code it like this ... I
> did it like this ..., right?
>

Yes, I named the wrong file. But for a few hours, FilterOutputStream
actually had the original code. The change also covers catching Throwable
rather than Exception, which means that things will be closed properly even
in the event of a StackOverflowError or similar.

Reply via email to