Tom Tromey
3bd417a700
BufferedReader.java, [...]: Imports from Classpath.
...
* java/io/BufferedReader.java, java/io/BufferedWriter.java,
java/io/DataInput.java, java/io/DataOutput.java: Imports from
Classpath.
From-SVN: r65868
2003-04-20 22:47:43 +00:00
Michael Koch
f4f5d1d621
BufferedReader.java, [...]: Merged from classpath.
...
2003-03-18 Michael Koch <konqueror@gmx.de>
* java/io/BufferedReader.java,
java/io/BufferedWriter.java,
java/io/ByteArrayOutputStream.java,
java/io/FileFilter.java,
java/io/FilePermission.java,
java/io/FileReader.java,
java/io/FileWriter.java,
java/io/FilenameFilter.java,
java/io/FilterInputStream.java,
java/io/FilterOutputStream.java,
java/io/FilterReader.java,
java/io/FilterWriter.java,
java/io/ObjectInput.java,
java/io/ObjectInputValidation.java,
java/io/ObjectOutput.java,
java/io/ObjectStreamField.java,
java/io/PipedInputStream.java,
java/io/PipedReader.java,
java/io/PrintWriter.java,
java/io/PushbackReader.java,
java/io/Reader.java,
java/io/SerializablePermission.java,
java/io/StringReader.java,
java/io/Writer.java:
Merged from classpath.
From-SVN: r64525
2003-03-18 06:00:25 +00:00
Bryce McKinlay
e042de67c4
BufferedWriter (write (String, int, int)): Remove redundant bounds checks.
...
* java/io/BufferedWriter (write (String, int, int)): Remove
redundant bounds checks.
(write (char[], int, int)): Likewise.
From-SVN: r46426
2001-10-23 07:04:58 +01:00
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