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
BufferedOutputStream.java
BufferedReader.java
BufferedWriter.java
ByteArrayInputStream.java
ByteArrayOutputStream.java
CharArrayReader.java
CharArrayWriter.java
CharConversionException.java
DataInput.java
DataInputStream.java
DataOutput.java
DataOutputStream.java
EOFException.java
Externalizable.java
File.java
FileDescriptor.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
FileFilter.java
FileInputStream.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
FilenameFilter.java
FileNotFoundException.java
FileOutputStream.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
FilePermission.java
FileReader.java
FileWriter.java
FilterInputStream.java
FilterOutputStream.java
FilterReader.java
FilterWriter.java
InputStream.java
InputStreamReader.java
InterruptedIOException.java
InvalidClassException.java
InvalidObjectException.java
IOException.java
LineNumberInputStream.java
LineNumberReader.java
natFilePosix.cc
natFileWin32.cc
natObjectInputStream.cc
natVMObjectStreamClass.cc
NotActiveException.java
NotSerializableException.java
ObjectInput.java
ObjectInputStream.java ObjectInputStream.java: Compile fix, damn I commited the wrong code. 2004-02-28 21:48:35 +00:00
ObjectInputValidation.java
ObjectOutput.java
ObjectOutputStream.java
ObjectStreamClass.java 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org> 2004-02-28 21:28:53 +00:00
ObjectStreamConstants.java
ObjectStreamException.java
ObjectStreamField.java 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org> 2004-02-28 21:28:53 +00:00
OptionalDataException.java
OutputStream.java
OutputStreamWriter.java
PipedInputStream.java
PipedOutputStream.java
PipedReader.java
PipedWriter.java
PrintStream.java
PrintWriter.java
PushbackInputStream.java
PushbackReader.java
RandomAccessFile.java FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
Reader.java
SequenceInputStream.java
Serializable.java
SerializablePermission.java
StreamCorruptedException.java
StreamTokenizer.java
StringBufferInputStream.java
StringReader.java
StringWriter.java
SyncFailedException.java
UnsupportedEncodingException.java
UTFDataFormatException.java
VMObjectStreamClass.java
WriteAbortedException.java
Writer.java