6961062: (dc) Several DatagramChannel tests timeout or fail with "address already in use"
Alan Bateman
Alan.Bateman at oracle.com
Tue Jun 15 02:34:15 PDT 2010
Chris Hegarty wrote:
> Alan,
>
> The changes look fine. Any reason you're using the socket adapters to
> retrieve the port ;-)
>
> -Chris.
Thanks. Using the socket adapter is the simplest way to retrieve the
port for these tests (these tests use the socket adapters anyway, and it
avoids casting a SocketAddress to an InetSocketAddress).
-Alan.
More information about the nio-dev
mailing list