aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/OutputStreamWriter.java
AgeCommit message (Collapse)AuthorFilesLines
2003-02-13InputStreamReader.java (getEncoding): Return null when closed.Mark Wielaard1-2/+5
* java/io/InputStreamReader.java (getEncoding): Return null when closed. * java/io/OutputStreamWriter.java (getEncoding): Likewise. From-SVN: r62875
2001-02-20PipedWriter.java (flush): Throw exception if stream closed.Tom Tromey1-3/+9
* 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-09OutputStreamWriter.java: (flush, writeChars): Throw IOException if stream ↵Bryce McKinlay1-1/+7
closed. * java/io/OutputStreamWriter.java: (flush, writeChars): Throw IOException if stream closed. From-SVN: r39559
2000-07-28OutputStreamWriter.java (close): Only flush if not closed.Tom Tromey1-2/+2
* java/io/OutputStreamWriter.java (close): Only flush if not closed. From-SVN: r35309
2000-03-07All files: Updated copyright information.Tom Tromey1-1/+1
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
2000-01-19* All files: Updated copyright to reflect Cygnus purchase.Tom Tromey1-1/+1
From-SVN: r31504
1999-11-01PrintStream (PrintStream): Fix illegal usage of "this" before "super".Bryce McKinlay1-4/+6
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-09-21OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it ↵Tom Tromey1-5/+3
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-21OutputStreamWriter.java (OutputStreamWriter): Don't refer to `this' before ↵Tom Tromey1-3/+5
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-04-16InputStreamReader.java (<init>): Set super.in correctly.Per Bothner1-4/+9
� * 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-07Initial revisionTom Tromey1-0/+155
From-SVN: r26263