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:
parent
ce7a72c80d
commit
36805693cb
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user