On Wed, 2 Jun 2021 15:54:26 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.

This pull request has now been integrated.

Changeset: 17834375
Author:    Daniel Fuchs <dfu...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/178343750f8ce51c191d475d2fca6cbe609fd61c
Stats:     39 lines in 3 files changed: 35 ins; 2 del; 2 mod

8264975: java/net/DatagramSocket/DatagramSocketMulticasting.java fails 
infrequently

Reviewed-by: alanb, chegar

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

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

Reply via email to