Message6353
If a file is opened and written to from the Event Dispatch Thread, the contents do not get flushed when the file is closed.
Attached is a simple Swing application that writes the TEST file when the button is pushed. It also writes a TEST2 file for comparison, but in the main thread. On Jython 2.5.2b2 and higher, TEST ends up as a 0 byte file, while in 2.5.2b1 and lower it ends up the same size as TEST2. |
|
Date |
User |
Action |
Args |
2011-01-25 17:35:06 | alex.gronholm | set | recipients:
+ alex.gronholm |
2011-01-25 17:35:06 | alex.gronholm | set | messageid: <1295976906.23.0.839203933005.issue1701@psf.upfronthosting.co.za> |
2011-01-25 17:35:06 | alex.gronholm | link | issue1701 messages |
2011-01-25 17:35:06 | alex.gronholm | create | |
|