RFR: 8219804 ava/net/MulticastSocket/Promiscuous.java fails intermittently due to NumberFormatException
Michael McMahon
michael.x.mcmahon at oracle.com
Mon Jun 24 13:46:41 UTC 2019
On 24/06/2019, 11:31, Michael McMahon wrote:
> Hi Mark
>
> On 23/06/2019, 13:53, mark sheppard wrote:
:
>>
> Since the socket is receiving something unexpected, I think I agree
> that binding
> to the multicast address could be worth doing as well. That would
> filter out
> packets that perhaps broadcast or just sent directly to the bound
> port, independent
> of the multicast group. I will try out that suggestion and if it works
> okay,
> I'll include it in the change.
>
It seems that trick doesn't work on Solaris or Windows. I don't think
it's worth complicating
the test further with more OS specific code. So, for now, I'm going to
push the change as it is.
Thanks,
Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/net-dev/attachments/20190624/ff7ed55e/attachment.html>
More information about the net-dev
mailing list