2003-10-08 Michael Koch <konqueror@gmx.de>

* gnu/java/nio/SocketChannelImpl.java
	(read): Write only read data to buffer.

From-SVN: r72232
This commit is contained in:
Michael Koch 2003-10-08 16:03:06 +00:00 committed by Michael Koch
parent ce7a72c80d
commit 36805693cb
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-08 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/SocketChannelImpl.java
(read): Write only read data to buffer.
2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub

View File

@ -250,7 +250,7 @@ public final class SocketChannelImpl extends SocketChannel
if (readBytes > 0
&& !dst.hasArray())
{
dst.put (data);
dst.put (data, offset, len);
}
return readBytes;