RFR - 8159410: InetAddress.isReachable returns true for non existing IP addresses

Rob McKenna rob.mckenna at oracle.com
Wed Sep 21 15:16:46 UTC 2016

Hi folks,

I'd like to fix a bug caused by an incorrect assumption. The IcmpSendEcho* calls can actually return a similar set of errors regardless of whether the call itself failed or succeeded. This change checks that both the call and the ping were successful. In addition to that it takes a number of common failure causes into account before deciding to throw an exception.



More information about the net-dev mailing list