harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Wilson <jessewil...@google.com>
Subject I'm planning on fixing the "flush exceptions ignored" bug
Date Tue, 03 Nov 2009 17:51:44 GMT
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...

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