On Thursday 22 Mar 2012 05:50:48 David ?Bombe? Roden wrote:
> On Tue, 2012-03-20 at 22:44 +0000, Matthew Toseland wrote:
> 
> > I am speaking from experience. write() is supposed to either succeed or 
> > throw. PrintWriter busy-loops on disk full when stderr is redirected to a 
> > file. Feel free to test it, it may be that it doesn't happen with modern 
> > JVMs. But it's unacceptable.
> 
> I have just checked PrintWriter?s source code (OpenJDK 6). There?s no
> sign of it busy-looping anywhere. I have also checked PrintStream: no
> busy-looping.
> 
> And just for the hell of it I downloaded JDK 1.1.8? and I wasn?t able to
> find any busy-looping in there, either. So whatever it was that bit you
> back then it must have been something different and you just
> mis-diagnosed it. :/

Hmmm, perhaps. write() either succeeds or throws ... maybe it throws and we 
catch it and re-call it? Dunno...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20120322/25077a7b/attachment.pgp>

Reply via email to