RFR 8216417: cleanup of IPv6 scope-id handling

Chris Hegarty chris.hegarty at oracle.com
Tue Jun 11 13:19:33 UTC 2019


Michael,

> On 11 Jun 2019, at 12:11, Michael McMahon <michael.x.mcmahon at oracle.com> wrote:
> 
> Thanks for the review Alan.
> I've made the changes suggested by you and Daniel
> and added a test to Scoping.java for checking the connected IP address.
> 
> http://cr.openjdk.java.net/~michaelm/8216417/webrev.3/index.html

Looks like AbstractPlainDatagramSocketImpl::connect sets the
connected address to the address including the scope. Strangely,
it looks like there is a test for this particular scenario, it should
catch the problem, no?

-Chirs.




More information about the nio-dev mailing list