harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: I'm planning on fixing the "flush exceptions ignored" bug
Date Wed, 04 Nov 2009 12:11:07 GMT
On 03/Nov/2009 17:51, Jesse Wilson wrote:
> 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?
> Cheers,
> Jesse
> PS - I'm still waiting on the Apache volunteers to setup my commit access...

Like everyone else, I'm avoiding studying sources of Sun code, so can
you show the test case here (or on a JIRA)?


View raw message