8696d927c0
(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. From-SVN: r77173 |
||
---|---|---|
.. | ||
Authenticator.java | ||
BindException.java | ||
ConnectException.java | ||
ContentHandler.java | ||
ContentHandlerFactory.java | ||
DatagramPacket.java | ||
DatagramSocket.java | ||
DatagramSocketImpl.java | ||
DatagramSocketImplFactory.java | ||
FileNameMap.java | ||
HttpURLConnection.java | ||
Inet4Address.java | ||
Inet6Address.java | ||
InetAddress.java | ||
InetSocketAddress.java | ||
JarURLConnection.java | ||
MalformedURLException.java | ||
MulticastSocket.java | ||
natInetAddressNoNet.cc | ||
natInetAddressPosix.cc | ||
natInetAddressWin32.cc | ||
natNetworkInterfaceNoNet.cc | ||
natNetworkInterfacePosix.cc | ||
natNetworkInterfaceWin32.cc | ||
NetPermission.java | ||
NetworkInterface.java | ||
NoRouteToHostException.java | ||
PasswordAuthentication.java | ||
PortUnreachableException.java | ||
ProtocolException.java | ||
ServerSocket.java | ||
Socket.java | ||
SocketAddress.java | ||
SocketException.java | ||
SocketImpl.java | ||
SocketImplFactory.java | ||
SocketOptions.java | ||
SocketPermission.java | ||
SocketTimeoutException.java | ||
UnknownHostException.java | ||
UnknownServiceException.java | ||
URI.java | ||
URISyntaxException.java | ||
URL.java | ||
URLClassLoader.java | ||
URLConnection.java | ||
URLDecoder.java | ||
URLEncoder.java | ||
URLStreamHandler.java | ||
URLStreamHandlerFactory.java |