[9] RFR of 8087304: (ch) java/nio/channels/DatagramChannel/EmptyBuffer.java received 4 times while expected 3

Brian Burkhalter brian.burkhalter at oracle.com
Fri Jun 12 20:01:34 UTC 2015


On Jun 12, 2015, at 12:59 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> This appears to have the same issue. Did you consider passing the address to the Server as part of creating it, ie:
> 
> DatagramChannel dc = DatagramChannel.open();
> dc.bind(new InetSocketAddress(0));
> Server server = new Server(dc.getLocalAddress());

I did but however I did it would not work. I’ll try this version.

Thanks,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150612/09d6c328/attachment.html>


More information about the nio-dev mailing list