This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: buffer flushing?
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.