buffer flushing?

Andrew Haley aph@cambridge.redhat.com
Tue May 28 10:24:00 GMT 2002


Adam Megacz writes:
 > 
 > Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
 > > I don't think we should add this method since it looks like the spec 
 > > doesn't have it implemented for FileOutputStream, which implys that it 
 > > does nothing.
 > 
 > Egad, you're right.
 > 
 > > What does the JDK do?
 > 
 > On Win32, the JDK doesn't flush buffers until you close the file. Wow,
 > that's lame.

Is it not possible to open the file with a mode that stops this from
happening?

I guess this is a divergence between UNIX and Win32?

Andrew.



More information about the Java mailing list