gcc/libjava/java/io
David Daney fc6b4aa43a re PR libgcj/20389 (BufferedInputStream gets ArrayIndexOutOfBoundsExeception)
2005-03-09  David Daney  <ddaney@avtrex.com>

	PR libgcj/20389
	Merge BufferedInputStream from GNU Classpath.
	* java/io/BufferedInputStream.java (marktarget): Field removed.
	(CHUNKSIZE): Field removed.
	(bufferSize): New field.
	(BufferedInputStream): Initialize fields.
	(close): Invalidate mark and buffer indexes.
	(mark):  Rewritten.
	(read()): Move mark handling code to refill.
	(read(byte[], int, int)): Ditto.
	(skip): Ditto and simplify EOF testing.
	(refill): Rewritten.
	* java/io/InputStreamReader.java (refill): Removed mark and reset
	of internal BufferedInputStream.

From-SVN: r96217
2005-03-09 22:11:33 +00:00
..
BufferedInputStream.java re PR libgcj/20389 (BufferedInputStream gets ArrayIndexOutOfBoundsExeception) 2005-03-09 22:11:33 +00:00
BufferedOutputStream.java
BufferedReader.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
BufferedWriter.java
ByteArrayInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ByteArrayOutputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
CharArrayReader.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
CharArrayWriter.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
CharConversionException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
DataInput.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
DataInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
DataOutput.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
DataOutputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
EOFException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Externalizable.java 2005-02-22 Jeroen Frijters <jeroen@frijters.net> 2005-02-22 18:58:53 +00:00
File.java File.java (toURI): Generate a URI which we understand. 2005-01-14 21:12:46 +00:00
FileDescriptor.java FileDescriptor.java (sync): Add real exception to SyncFailedException. 2005-02-21 08:31:01 +00:00
FileFilter.java
FileInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FilenameFilter.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FileNotFoundException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FileOutputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FilePermission.java
FileReader.java
FileWriter.java
FilterInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FilterOutputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FilterReader.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
FilterWriter.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InputStreamReader.java re PR libgcj/20389 (BufferedInputStream gets ArrayIndexOutOfBoundsExeception) 2005-03-09 22:11:33 +00:00
InterruptedIOException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
InvalidClassException.java
InvalidObjectException.java
IOException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
LineNumberInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
LineNumberReader.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
natFilePosix.cc
natFileWin32.cc
natObjectInputStream.cc [multiple changes] 2005-02-22 03:13:35 +00:00
natVMObjectStreamClass.cc [multiple changes] 2005-02-22 03:13:35 +00:00
NotActiveException.java
NotSerializableException.java
ObjectInput.java
ObjectInputStream.java [multiple changes] 2005-02-22 03:13:35 +00:00
ObjectInputValidation.java
ObjectOutput.java
ObjectOutputStream.java [multiple changes] 2005-02-22 03:13:35 +00:00
ObjectStreamClass.java Check in missed file from last commit. 2005-02-22 03:45:18 +00:00
ObjectStreamConstants.java
ObjectStreamException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
ObjectStreamField.java [multiple changes] 2005-02-22 03:13:35 +00:00
OptionalDataException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
OutputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
OutputStreamWriter.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
PipedInputStream.java
PipedOutputStream.java
PipedReader.java
PipedWriter.java
PrintStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
PrintWriter.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
PushbackInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
PushbackReader.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
RandomAccessFile.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Reader.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
SequenceInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Serializable.java 2005-02-22 Jeroen Frijters <jeroen@frijters.net> 2005-02-22 18:58:53 +00:00
SerializablePermission.java
StreamCorruptedException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StreamTokenizer.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StringBufferInputStream.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
StringReader.java
StringWriter.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
SyncFailedException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
UnsupportedEncodingException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
UTFDataFormatException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
VMObjectStreamClass.java [multiple changes] 2005-02-22 03:13:35 +00:00
WriteAbortedException.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00
Writer.java GThreadNativeMethodRunner.java, [...]: Fixed usage of @author tag... 2005-02-17 07:48:58 +00:00