diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-29 19:12:15 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-29 19:12:15 +0000 |
| commit | 01bd62a613b67cc22b7ac56aae455e5c530ad136 (patch) | |
| tree | dac2f13072b5f9eb856b86bd0a047fabdd09419a /libjava/java/lang/NegativeArraySizeException.java | |
| parent | e37121c7752d69b707f91f35b1d134f1d81264cc (diff) | |
| download | ppe42-gcc-01bd62a613b67cc22b7ac56aae455e5c530ad136.tar.gz ppe42-gcc-01bd62a613b67cc22b7ac56aae455e5c530ad136.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78661 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang/NegativeArraySizeException.java')
0 files changed, 0 insertions, 0 deletions

