Commit 36805693 by Michael Koch Committed by Michael Koch

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

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

From-SVN: r72232
parent ce7a72c8
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> 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
......
...@@ -250,7 +250,7 @@ public final class SocketChannelImpl extends SocketChannel ...@@ -250,7 +250,7 @@ public final class SocketChannelImpl extends SocketChannel
if (readBytes > 0 if (readBytes > 0
&& !dst.hasArray()) && !dst.hasArray())
{ {
dst.put (data); dst.put (data, offset, len);
} }
return readBytes; return readBytes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment