gcc/libjava/java
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
..
applet AppletContext.java: Fix typo and remove redundant modifiers. 2002-11-14 20:35:27 +00:00
awt 2004-02-10 David Jee <djee@redhat.com> 2004-02-10 18:57:22 +00:00
beans BeanDescriptor.java, [...]: Explicitely import used classes. 2003-12-04 19:36:13 +00:00
io FileDescriptor.java: Implement on top of FileChannel. 2004-02-29 11:12:15 -08:00
lang re PR libgcj/14296 (3.4 regression: Method.Invoke) 2004-02-26 15:22:20 +00:00
math Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
net 2004-02-11 Michael Koch <konqueror@gmx.de> 2004-02-11 18:22:09 +00:00
nio FileChannelImpl.java: Moved to package gnu/java/nio/channels, since we need to refer to it from java.io. 2004-02-29 11:10:46 -08:00
rmi Naming.java (lookup): Check if the first character of the filename returned by URL.getFile() is a '/'... 2003-12-26 23:23:55 +00:00
security Security.java: Don't use &nbsp; in the api doc. 2003-12-02 17:31:46 +00:00
sql Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
text 2004-01-23 Michael Koch <konqueror@gmx.de> 2004-01-23 15:15:31 +00:00
util Deflater.java, [...]: Reformated and javadoc comments merged from classpath. 2004-02-05 16:04:28 +00:00