GC stress fixes and other bugfixes; classpath progress

This commit is contained in:
Joel Dice
2007-07-29 17:32:23 -06:00
parent d5a00c4556
commit a2bd7d0668
27 changed files with 463 additions and 75 deletions

View File

@ -9,7 +9,7 @@ public class PrintStream extends OutputStream {
public PrintStream(OutputStream out, boolean autoFlush) {
this.out = out;
this.autoFlush = true;
this.autoFlush = autoFlush;
}
public PrintStream(OutputStream out) {
@ -29,6 +29,13 @@ public class PrintStream extends OutputStream {
if (autoFlush) flush();
} catch (IOException e) { }
}
public synchronized void println() {
try {
out.write(newline);
if (autoFlush) flush();
} catch (IOException e) { }
}
public void write(int c) throws IOException {
out.write(c);