diff options
author | Tom Tromey <tromey@redhat.com> | 2002-04-30 17:44:08 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2002-04-30 17:44:08 +0000 |
commit | 5936f2e7fc47997a87bc5cc82faea1b224731b46 (patch) | |
tree | 9dd0fd79b136b562ac5cc60a5d5d8f68e472b081 | |
parent | 2d41fd8cfc50fb24200464d476c3f8a1d3b24740 (diff) | |
download | classpath-5936f2e7fc47997a87bc5cc82faea1b224731b46.tar.gz |
* java/lang/System.java (out, err): Use auto-flush PrintStream.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | java/lang/System.java | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2002-04-30 Tom Tromey <tromey@redhat.com> + + * java/lang/System.java (out, err): Use auto-flush PrintStream. + 2002-04-30 Mark Wielaard <mark@klomp.org> * javax/swing/Action.java: Interface is always abstract, add copyright diff --git a/java/lang/System.java b/java/lang/System.java index 3b009ee86..995caf449 100644 --- a/java/lang/System.java +++ b/java/lang/System.java @@ -212,7 +212,7 @@ public final class System * you, however. */ public static final PrintStream out - = new PrintStream(new BufferedOutputStream (new FileOutputStream(FileDescriptor.out))); + = new PrintStream(new BufferedOutputStream (new FileOutputStream(FileDescriptor.out)), true); /** * The standard output PrintStream. This is assigned at startup and * starts its life perfectly valid. Although it is marked final, you can @@ -224,7 +224,7 @@ public final class System * you, however. */ public static final PrintStream err - = new PrintStream(new BufferedOutputStream (new FileOutputStream(FileDescriptor.err))); + = new PrintStream(new BufferedOutputStream (new FileOutputStream(FileDescriptor.err)), true); /** * This class is uninstantiable. |