harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: I'm planning on fixing the "flush exceptions ignored" bug
Date Tue, 03 Nov 2009 20:56:30 GMT

In message <a43fbc6a0911030951o1145a71ay61334235bf6b3d45@mail.gmail.com>,
Jesse Wilson writes:
> 
> Harmony team,
> 
> There's a bug in the RI's FilterOutputStream that causes exceptions to be
> ignored. I'm unsure why they don't have a fix; perhaps they don't grasp how
> dangerous this problem is.
> 
>   http://bugs.sun.com/view_bug.do?bug_id=6390383
> 
> I've attached a program that demonstrates the bug. In order to cause a
> FileOutputStream.write() to fail, this lame program only runs on OS X where
> it's easy to create and unmount disks programatically. When executed, the
> program completes normally despite the fact that the second write fails.
> 
> Submitting a fix to Harmony will decrease compatibility with the RI, but in
> this case I feel it's justified. Concerns?

I avoid looking at Sun bugs so I don't know the details (and wont see
your test program) but it sounds like a reasonable issue to address even
if the RI does not.

-Mark.



Mime
View raw message