This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]