RFR: JDK-8077377 - java/net/MulticastSocket/SetOutgoingIf.java fails intermittently with NullPointerException

Chris Hegarty chris.hegarty at oracle.com
Tue May 26 21:22:26 UTC 2015


Looks fine Mark.   We fixed a few other tests recently to be more tolerant of network interference.

-Chris.

> On 26 May 2015, at 20:34, Mark Sheppard <mark.sheppard at oracle.com> 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.
> 
> regards
> Mark



More information about the net-dev mailing list