PrintStream.java (out): Removed field.
authorTom Tromey <tromey@redhat.com>
Mon, 2 Apr 2001 21:16:38 +0000 (21:16 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 2 Apr 2001 21:16:38 +0000 (21:16 +0000)
commit0003efa0b39dc5265f401acd9790dea95ad2a121
treebf769c583541d60b569591ac4c42a27a164413a5
parent5f82d4f21cac3bbef5b486a04cf4e5966f98ee75
PrintStream.java (out): Removed field.

* java/io/PrintStream.java (out): Removed field.  Fixes PR
java/2449.
(write): Call flush, not out.flush, per spec.
(close): Flush output stream, per spec.  Handle
InterruptedIOException.
(checkError): Likewise.
(flush, print, write): Handle InterruptedIOException per spec.
(PrintStream): Don't create BufferedOutputStream.
(work_bytes): New field.
(writeChars): Use work_bytes.  Don't assume `out' is a
BufferedOutputStream.

From-SVN: r41014
libjava/ChangeLog
libjava/java/io/PrintStream.java