diff options
| author | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-03 16:07:24 +0000 |
|---|---|---|
| committer | membar <membar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-03 16:07:24 +0000 |
| commit | 0e5e52e6dbbbcfe760182ce407d3bb3713b6582b (patch) | |
| tree | 0f48b5ad32382781358369642827a7d8b293ae29 /libjava/ChangeLog | |
| parent | a2cd141b9f3b1abf15e5fdff738fc0160355880a (diff) | |
| download | ppe42-gcc-0e5e52e6dbbbcfe760182ce407d3bb3713b6582b.tar.gz ppe42-gcc-0e5e52e6dbbbcfe760182ce407d3bb3713b6582b.zip | |
* gnu/java/nio/DatagramChannelImpl.java
(inChannelOperation): New field.
(isInChannelOperation): New accessor.
(setInChannelOperation): New modifier.
(receive): Use capacity() - position() of destination
buffer instead of remaining(). Set and reset our "in
channel operation indicator" before and after delegating
the receive to our datagram socket. Removed testing code.
Update destination buffer's current position if it is
backed by a byte array (hasArray() is true).
(send): Set and reset our "in channel operation indicator"
before and after delegating the send to our datagram socket.
Removed testing code. Update source buffer's current position
if it is backed by a byte array (hasArray() is true).
* gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
Use capacity() - position() of destination buffer instead
of remaining().
* java/net/DatagramSocket.java (receive): Don't throw an
IllegalBlockingModeException if we have a non-blocking
channel which initiated this operation.
(send): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/ChangeLog')
| -rw-r--r-- | libjava/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 454b7486a70..3392b3b4913 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,27 @@ +2004-02-03 Mohan Embar <gnustuff@thisiscool.com> + + * gnu/java/nio/DatagramChannelImpl.java + (inChannelOperation): New field. + (isInChannelOperation): New accessor. + (setInChannelOperation): New modifier. + (receive): Use capacity() - position() of destination + buffer instead of remaining(). Set and reset our "in + channel operation indicator" before and after delegating + the receive to our datagram socket. Removed testing code. + Update destination buffer's current position if it is + backed by a byte array (hasArray() is true). + (send): Set and reset our "in channel operation indicator" + before and after delegating the send to our datagram socket. + Removed testing code. Update source buffer's current position + if it is backed by a byte array (hasArray() is true). + * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)): + Use capacity() - position() of destination buffer instead + of remaining(). + * java/net/DatagramSocket.java (receive): Don't throw an + IllegalBlockingModeException if we have a non-blocking + channel which initiated this operation. + (send): Likewise. + 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com> * configure.in: Add pkgconfig check for glib and gthread. |

