gcc/libjava/java/io
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
..
BufferedInputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
BufferedOutputStream.java BufferedWriter.java: Merged with Classpath. 2000-05-19 23:35:34 +00:00
BufferedReader.java PipedReader.java (ready): Throw IOException if pipe closed. 2001-02-13 18:55:13 +00:00
BufferedWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
ByteArrayInputStream.java CharArrayReader.java (CharArrayReader): Throw IllegalArgumentException if constructor arguments are illegal. 2001-02-19 05:37:28 +00:00
ByteArrayOutputStream.java ZipInputStream.java (createZipEntry): Implemented. 2000-08-19 19:54:36 +00:00
CharArrayReader.java CharArrayReader.java (CharArrayReader): Throw IllegalArgumentException if constructor arguments are illegal. 2001-02-19 05:37:28 +00:00
CharArrayWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
CharConversionException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
DataInput.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
DataInputStream.java Remerge with Classpath (changes by Bryce McKinlay <bryce@albatross.co.nz>) 2001-02-17 15:09:46 +00:00
DataOutput.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
DataOutputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
EOFException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Externalizable.java Jumbo patch: 2000-05-19 17:55:34 +00:00
File.java File.java (java.net): Imported. 2001-02-09 00:30:31 -08:00
FileDescriptor.java FileDescriptor.java: Initialize fd to -1. 2000-12-26 00:24:01 +00:00
FileFilter.java Makefile.in: Rebuilt. 2000-11-20 18:25:41 +00:00
FileInputStream.java FileInputStream.java (close): Check if the fd is valid. 2000-12-08 10:28:32 +00:00
FilenameFilter.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FileNotFoundException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FileOutputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FilePermission.java FilePermission.java: Made class final per spec. 2000-12-04 10:20:00 +00:00
FileReader.java Reader.java: Merge docs from classpath. 2000-10-30 09:20:47 +00:00
FileWriter.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FilterInputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FilterOutputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
FilterReader.java PipedReader.java (ready): Throw IOException if pipe closed. 2001-02-13 18:55:13 +00:00
FilterWriter.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
InputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
InputStreamReader.java re PR libgcj/1913 (reading closed streams throws NullPointerException, not IOException) 2001-02-09 01:54:38 +00:00
InterruptedIOException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
InvalidClassException.java Jumbo patch: 2000-05-19 17:55:34 +00:00
InvalidObjectException.java Jumbo patch: 2000-05-19 17:55:34 +00:00
IOException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
LineNumberInputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
LineNumberReader.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
natFile.cc re GNATS libgcj/15 (_REENTRANT should be defined more consistently) 2000-04-21 20:38:43 +00:00
natFileDescriptorEcos.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
natFileDescriptorPosix.cc Makefile.in: Rebuilt. 2000-08-02 21:54:04 +00:00
natFileDescriptorWin32.cc [multiple changes] 2000-03-15 22:03:19 +00:00
natFileWin32.cc [multiple changes] 2000-03-15 22:03:19 +00:00
natObjectInputStream.cc System.java (setProperties): Only call init_properties() if properties is null. 2000-11-26 01:48:04 +00:00
natObjectOutputStream.cc Jumbo patch: 2000-05-19 17:55:34 +00:00
NotActiveException.java Jumbo patch: 2000-05-19 17:55:34 +00:00
NotSerializableException.java Jumbo patch: 2000-05-19 17:55:34 +00:00
ObjectInput.java Jumbo patch: 2000-05-19 17:55:34 +00:00
ObjectInputStream.java BlockDataException.java: Removed. 2001-02-13 07:42:48 +00:00
ObjectInputValidation.java Jumbo patch: 2000-05-19 17:55:34 +00:00
ObjectOutput.java Jumbo patch: 2000-05-19 17:55:34 +00:00
ObjectOutputStream.java ObjectInputStream.java (read): AND byte with 0xff to make result unsigned. 2001-01-27 06:04:29 +00:00
ObjectStreamClass.java Fix comments for doclets 2001-01-06 23:28:40 +00:00
ObjectStreamConstants.java Jumbo patch: 2000-05-19 17:55:34 +00:00
ObjectStreamException.java ObjectStreamException.java: Made constructors protected. 2000-07-28 11:58:03 +00:00
ObjectStreamField.java Jumbo patch: 2000-05-19 17:55:34 +00:00
OptionalDataException.java PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
OutputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
OutputStreamWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
PipedInputStream.java Fix comments for doclets 2001-01-06 23:28:40 +00:00
PipedOutputStream.java PipedInputStream: Rewrote to be simpler and more correct. 2001-01-05 08:23:51 +00:00
PipedReader.java PipedReader.java (ready): Throw IOException if pipe closed. 2001-02-13 18:55:13 +00:00
PipedWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
PrintStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
PrintWriter.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
PushbackInputStream.java PushbackInputStream.java (read): If there are characters in the buffer, don't also call super.read(). 2000-06-27 21:27:50 +00:00
PushbackReader.java Fix comments for doclets 2001-01-06 23:28:40 +00:00
RandomAccessFile.java FileInputStream.java (close): Check if the fd is valid. 2000-12-08 10:28:32 +00:00
Reader.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
SequenceInputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Serializable.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
SerializablePermission.java * java/io/SerializablePermission.java (legal_names): Now private. 2000-12-15 05:59:31 +00:00
StreamCorruptedException.java ObjectStreamException.java: New file. 2000-04-11 09:21:53 +00:00
StreamTokenizer.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
StringBufferInputStream.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
StringReader.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
StringWriter.java * java/io/StringWriter.java (StringWriter(int)): Now public. 2000-12-15 06:08:55 +00:00
SyncFailedException.java PropertyChangeEvent.java (serialVersionUID): Added. 2000-09-08 19:37:09 +00:00
UnsupportedEncodingException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
UTFDataFormatException.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
WriteAbortedException.java PropertyChangeEvent.java (oldVal): Renamed to oldValue. 2000-06-27 05:10:03 +00:00
Writer.java All files: Updated copyright information. 2000-03-07 19:55:28 +00:00