On 26/05/2015 20:34, Mark Sheppard wrote:
Hi
please oblige and review the following change
http://cr.openjdk.java.net/~msheppar/8077377/webrev/
to address the issue
https://bugs.openjdk.java.net/browse/JDK-8077377
it is possible that "stray" packets can be received in this
MulticastSocket test, and
this results in a NPE from the NetworkInterface lookup based on the
received address.
Change adds a test that the "from" NetworkInterface is not null.
If I read this correctly then it just ignores the packet when it comes
from a non-local interface (or interference from something else on the
network).
Should the commented out throwing on RuntimeException be removed while
you are there?
-Alan.