Tom Tromey
39f90b7ce0
PipedWriter.java (flush): Throw exception if stream closed.
...
* java/io/PipedWriter.java (flush): Throw exception if stream
closed.
* java/io/OutputStreamWriter.java (write): Throw exception if
stream closed.
(writeChars): Don't throw exception if stream closed.
* java/io/CharArrayWriter.java (closed): New field.
(close): Set it.
(flush): Throw exception if stream closed.
(reset): Synchronize on correct lock. Allow stream to be
reopened.
(toCharArray, toString, writeTo): Synchronize.
(write): Throwe exception if stream closed.
* java/io/BufferedWriter.java (close): Clear `buffer'.
(flush): Throw IOException if stream is closed.
(write): Likewise.
From-SVN: r39927
2001-02-20 19:01:55 +00:00
Bryce McKinlay
c2dd346b48
OutputStreamWriter.java: (flush, writeChars): Throw IOException if stream closed.
...
* java/io/OutputStreamWriter.java: (flush, writeChars): Throw
IOException if stream closed.
From-SVN: r39559
2001-02-09 04:01:59 +00:00
Tom Tromey
8fec62b138
OutputStreamWriter.java (close): Only flush if not closed.
...
* java/io/OutputStreamWriter.java (close): Only flush if not
closed.
From-SVN: r35309
2000-07-28 02:54:16 +00:00
Tom Tromey
2ba5f77454
All files: Updated copyright information.
...
* All files: Updated copyright information.
* COPYING: New file.
* COPYING.LIB: Removed.
* LIBGCJ_LICENSE: We now use GPL + special exception.
From-SVN: r32387
2000-03-07 19:55:28 +00:00
Tom Tromey
7c734b1758
* All files: Updated copyright to reflect Cygnus purchase.
...
From-SVN: r31504
2000-01-19 18:39:27 +00:00
Bryce McKinlay
6b5ba2ce34
PrintStream (PrintStream): Fix illegal usage of "this" before "super".
...
1999-11-01 Bryce McKinlay <bryce@albatross.co.nz>
* java/io/PrintStream (PrintStream): Fix illegal usage of "this"
before "super".
* java/io/OutputStreamWriter (OutputStreamWriter): ditto.
* java/io/InputStreamReader (InputStreamReader): ditto.
From-SVN: r30300
1999-11-01 01:15:37 +00:00
Tom Tromey
49d385e3cd
OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it too was incorrect.
...
* java/io/OutputStreamWriter.java (OutputStreamWriter): Reverted
previous patch; it too was incorrect.
* java/io/PrintStream.java (PrintStream): Likewise.
From-SVN: r29566
1999-09-21 21:35:41 +00:00
Tom Tromey
118a6ea134
OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before calling superclass constructor.
...
* java/io/OutputStreamWriter.java (OutputStreamWriter): Don't
refer to `this' before calling superclass constructor.
* java/io/PrintStream.java (PrintStream): Don't refer to `this'
before calling superclass constructor.
From-SVN: r29560
1999-09-21 19:49:13 +00:00
Per Bothner
839df96120
InputStreamReader.java (<init>): Set super.in correctly.
...
�
* java/io/InputStreamReader.java (<init>): Set super.in correctly.
* java/io/OutputStreamWriter.java (<init>): Set super.in correctly.
(writeChars): Don't be quite so eager to flush.
* java/io/PrintStream.java: Rewrite. Now more similar to
OutputStreamWriter, using explicit UnicodeToBytes converter.
Also, autoflush does not need to flush so often.
* java/lang/natString.cc (getBytes): More efficient algorithm.
(init(jbyteArray,jint,jint,jstring)): More efficient.
From-SVN: r26509
1999-04-16 11:35:02 -07:00
Tom Tromey
ee9dd3721b
Initial revision
...
From-SVN: r26263
1999-04-07 14:42:40 +00:00