This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/11778] New: System.out PrintStream does too much buffering
- From: "bryce at mckinlay dot net dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2003 05:50:46 -0000
- Subject: [Bug libgcj/11778] New: System.out PrintStream does too much buffering
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11778
Summary: System.out PrintStream does too much buffering
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryce at mckinlay dot net dot nz
CC: gcc-bugs at gcc dot gnu dot org
Compare the output of the following test case (from current CVS) compared with the JRE or an
earlier libgcj:
public class testOut
{
public static void main(String[] args) throws InterruptedException
{
for (int i=0; i < 20; i++)
{
System.out.print(".");
Thread.sleep(100);
}
}
}
System.out is buffering the output too aggressively.