harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Wilson <jessewil...@google.com>
Subject Re: SneakyThrow!
Date Tue, 17 Nov 2009 17:25:26 GMT
On Tue, Nov 17, 2009 at 8:53 AM, Tim Ellison <t.p.ellison@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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message