In message <a43fbc6a0911030951o1145a71ay61334235bf6b3...@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.