]> git.ipfire.org Git - thirdparty/gcc.git/commit
Channels.java (newInputStream, [...]): Optimize when argument is a FileChannelImpl.
authorPer Bothner <bothner@gcc.gnu.org>
Wed, 3 Mar 2004 23:50:03 +0000 (15:50 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Wed, 3 Mar 2004 23:50:03 +0000 (15:50 -0800)
commitdd0a905f24c159bc583a40aadedaf40a01c747bd
tree8da6fb814250474a55396eab60ccc38d2dedbe09
parentd79944f48459240e0db73da18de5c6002f0238b6
Channels.java (newInputStream, [...]): Optimize when argument is a FileChannelImpl.

* java/nio/channels/Channels.java (newInputStream, newOutputStream):
Optimize when argument is a FileChannelImpl.
(newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
New native methods.
* java/nio/channels/natChannels.cc:  New file for new native methods.
* Makefile.am:  Update accordingly.

From-SVN: r78867
libjava/ChangeLog
libjava/Makefile.am
libjava/Makefile.in
libjava/java/nio/channels/Channels.java
libjava/java/nio/channels/natChannels.cc [new file with mode: 0644]