On Wed, 2 Jun 2021 17:52:34 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:

>> Please find below a fix that will make 
>> `java/net/DatagramSocket/DatagramSocketMulticasting.java` more resilient to 
>> the rare case where addresses bound to a network interfaces are updated 
>> while the test is running.
>> 
>> Instead of using `NetworkInterface::equals` to compare network interfaces, 
>> the test now use `NetworkConfiguration::isSameInterface` which only looks at 
>> the network interface name and index and ignore the addresses which are 
>> bound to it.
>
> Daniel Fuchs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Add a comment for the non-obvious case where ni1 == null || ni2 == null

Marked as reviewed by chegar (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/4313

Reply via email to