8246114: java/net/MulticastSocket/Promiscuous.java fails after 8241072 (multi-homed systems)

Alan Bateman Alan.Bateman at oracle.com
Mon Jun 29 14:40:01 UTC 2020


On 29/06/2020 15:09, Daniel Fuchs wrote:
> Hi,
>
> Please find a trivial fix for:
>
> 8246114: java/net/MulticastSocket/Promiscuous.java fails after
>          8241072 (multi-homed systems)
> https://bugs.openjdk.java.net/browse/JDK-8246114
>
> webrev:
> http://cr.openjdk.java.net/~dfuchs/webrev_8246114/webrev.00/
>
> The test should only use NetworkInterfaces for which an IPv4 address
> is configured, since it's trying to join an IPv4 group.
Do you need to do the same filtering at L158? I guess I would have 
expected leaveGroup to fail because the joinGroup has been skipped.

-Alan


More information about the net-dev mailing list