On 06/08/2013 09:38, Ivan Gerasimov wrote:
Hello everybody!
Would you please review a simple fix, suggested by someone on
bugs.sun.com?
j.i.PrintStream#write(char[]) calls out.flush() on each '\n' character
found in the array.
It's sufficient to do it only once.
One thing to check is whether this will require any changes to the spec
(as it is currently specified to call flush when a newline is written).
I don't have time just at the moment to check this but that would be my
only concern with a change like this.
-Alan