unit.file.WriteDataFile doesn't fully flush

Bug #571311 reported by edA-qa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TestPlan
New
Undecided
Unassigned

Bug Description

The unit.file.WriteDataFile function is intended to flush after each record is written. flush() is called in the code, but it appears Java has a different opinion of what flush is, just flushing internal buffers, not actually the backing file. Now seriously, who would want such a stupid behaviour? It looks like they claim the OS is doing this, but several other programs has no problem flushing on demand.

Figure out what is preventing the proper flush and fix it if possible.

Revision history for this message
edA-qa (eda-qa) wrote :

Related
http://alan.blog-city.com/printwriter.htm

Can't find much in the sun bug database, but it is clear that .flush is not flushing as expected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.