gcc/libjava/java/io
Per Bothner ef3916ef8e FileDescriptor.java: Implement on top of FileChannel.
* java/io/FileDescriptor.java:  Implement on top of FileChannel.
	Remove native methods.

	* java/io/natFileDescriptorEcos.cc:  Remove file.
	* java/io/natFileDescriptorPosix.cc:  Remove file.
	* java/io/natFileDescriptorWin32.cc:  Remove file.
	* java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
	(<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
	(<init>(FileChannelImpl)):  New package-private constructor.
	(<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
	(available, close, read, skip):  Implement using FileChannelImpl.
	(getFD):  Allocate FileDescriptor if needed.
	(getChannel):  Is now trivial.
	* java/io/FileOutputStream.java:  Corresponding changes.
	* java/io/RandomAccessFile.java:  Corresponding changes.

From-SVN: r78661
2004-02-29 11:12:15 -08:00
..
BufferedInputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
BufferedOutputStream.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
BufferedReader.java BufferedReader.java (sbuf): New field. 2004-01-30 06:33:43 +00:00
BufferedWriter.java BufferedReader.java, [...]: Imports from Classpath. 2003-04-20 22:47:43 +00:00
ByteArrayInputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
ByteArrayOutputStream.java ByteArrayOutputStream.java (resize): Fix off-by-one error. 2003-11-08 13:41:20 +00:00
CharArrayReader.java 2003-12-28 Guilhem Lavaux <guilhem@kaffe.org> 2003-12-28 11:54:17 +00:00
CharArrayWriter.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
CharConversionException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
DataInput.java BufferedReader.java, [...]: Imports from Classpath. 2003-04-20 22:47:43 +00:00
DataInputStream.java 2003-05-20 Michael Koch <konqueror@gmx.de> 2003-05-20 11:53:11 +00:00
DataOutput.java BufferedReader.java, [...]: Imports from Classpath. 2003-04-20 22:47:43 +00:00
DataOutputStream.java 2003-05-09 Michael Koch <konqueror@gmx.de> 2003-05-09 07:10:58 +00:00
EOFException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
Externalizable.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
File.java 2003-10-22 Michael Koch <konqueror@gmx.de> 2003-10-22 08:47:12 +00:00
FileDescriptor.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
FileFilter.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
FileInputStream.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
FilenameFilter.java 2003-04-07 Aaron M. Renn (arenn@urbanophile.com) 2003-04-07 12:25:08 +00:00
FileNotFoundException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
FileOutputStream.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
FilePermission.java FilePermission.java: Import used classes explicitely. 2003-12-04 20:09:57 +00:00
FileReader.java BufferedReader.java, [...]: Merged from classpath. 2003-03-18 06:00:25 +00:00
FileWriter.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
FilterInputStream.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
FilterOutputStream.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
FilterReader.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
FilterWriter.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
InputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
InputStreamReader.java BufferedReader.java (sbuf): New field. 2004-01-30 06:33:43 +00:00
InterruptedIOException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
InvalidClassException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
InvalidObjectException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
IOException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
LineNumberInputStream.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
LineNumberReader.java 2003-12-30 Guilhem Lavaux <guilhem@kaffe.org> 2003-12-30 13:21:16 +00:00
natFilePosix.cc URLStreamHandler.java (parseURL): If original file ends with "/", so must canonical result. 2003-09-12 01:08:18 +00:00
natFileWin32.cc configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. 2003-12-02 22:26:50 +00:00
natObjectInputStream.cc Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
natVMObjectStreamClass.cc Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. 2003-01-20 06:46:28 +00:00
NotActiveException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
NotSerializableException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
ObjectInput.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
ObjectInputStream.java ObjectInputStream.java: Compile fix, damn I commited the wrong code. 2004-02-28 21:48:35 +00:00
ObjectInputValidation.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
ObjectOutput.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
ObjectOutputStream.java 2003-12-31 Guilhem Lavaux <guilhem@kaffe.org> 2003-12-31 11:04:21 +00:00
ObjectStreamClass.java 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org> 2004-02-28 21:28:53 +00:00
ObjectStreamConstants.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
ObjectStreamException.java 2003-04-07 Aaron M. Renn (arenn@urbanophile.com) 2003-04-07 12:25:08 +00:00
ObjectStreamField.java 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org> 2004-02-28 21:28:53 +00:00
OptionalDataException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
OutputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
OutputStreamWriter.java re PR libgcj/8738 (java.io.CharArrayWriter's write methods erroneously throw IOExceptions) 2003-06-07 18:35:00 +00:00
PipedInputStream.java BufferedReader.java, [...]: Merged from classpath. 2003-03-18 06:00:25 +00:00
PipedOutputStream.java PipedOutputStream.java (flush): Declare as throwing IOException. 2003-02-04 21:07:15 +00:00
PipedReader.java BufferedReader.java, [...]: Merged from classpath. 2003-03-18 06:00:25 +00:00
PipedWriter.java PipedOutputStream.java (flush): Declare as throwing IOException. 2003-02-04 21:07:15 +00:00
PrintStream.java re PR libgcj/13176 (Revert PrintStream changes) 2003-12-08 12:45:59 +00:00
PrintWriter.java DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation. 2003-05-20 09:13:19 +00:00
PushbackInputStream.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
PushbackReader.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
RandomAccessFile.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
Reader.java BufferedReader.java, [...]: Merged from classpath. 2003-03-18 06:00:25 +00:00
SequenceInputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
Serializable.java Externalizable.java, [...]: Removed redundant modifiers. 2003-10-11 18:38:12 +00:00
SerializablePermission.java BufferedOutputStream.java: Reformated. 2003-03-23 19:11:19 +00:00
StreamCorruptedException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
StreamTokenizer.java re PR libgcj/13062 (StreamTokenizer ignores commentChar) 2003-11-16 21:15:55 +00:00
StringBufferInputStream.java Add license clarification. 2002-01-22 22:40:42 +00:00
StringReader.java BufferedReader.java, [...]: Merged from classpath. 2003-03-18 06:00:25 +00:00
StringWriter.java PipedOutputStream.java (flush): Declare as throwing IOException. 2003-02-04 21:07:15 +00:00
SyncFailedException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
UnsupportedEncodingException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
UTFDataFormatException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
VMObjectStreamClass.java Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. 2003-01-20 06:46:28 +00:00
WriteAbortedException.java BufferedOutputStream.java: Re-merged with Classpath. 2002-06-15 18:59:15 +00:00
Writer.java DataInputStream.java (): Wrapped documentation line. 2003-03-24 08:27:28 +00:00