4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info
Chris Hegarty
chris.hegarty at oracle.com
Fri Jun 18 02:57:19 PDT 2010
The change looks good.
One minor comment, is it possible for
DatagramChannelImpl.receive(ByteBuffer) to return the address from the
previous packet received? Asyn interrupt or close? I'm not sure.
-Chris.
On 06/17/10 07:23 PM, Alan Bateman wrote:
>
> If a DatagramChannel's socket adapter is used to receive a datagram then
> it doesn't set the DatagramPacket's socket address (IP address/port).
> From the bugID you can tell that this is a long standing bug. The
> changes to fix are very simple and I've put the webrev here:
> http://cr.openjdk.java.net/~alanb/4981129/webrev/
>
> Thanks,
> Alan.
More information about the nio-dev
mailing list