RFR [6961766]: PrintStream.write() should flush at most once

Ivan Gerasimov ivan.gerasimov at oracle.com
Tue Aug 6 16:38:48 UTC 2013

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.

BUGURL: http://bugs.sun.com/view_bug.do?bug_id=6961766
WEBREV: http://cr.openjdk.java.net/~igerasim/6961766/0/webrev/

Sincerely yours,

More information about the core-libs-dev mailing list