RFR 8016521: InetAddress should not always re-order addresses returned from name service

ecki at zusammenkunft.net ecki at zusammenkunft.net
Tue May 10 19:52:28 UTC 2016


Hello,

Love it. Not sure about two things, first of all if there are more test cases (especially assertions) needed and

secondly how to handle the prefer=System case for anyAddr and local. Currently it seems to prefer v4 (since this is the current default) howver i would expect in the system case to either detect the prefered AF or use ipv6 (as of rfc). Returning 127.0.1/0.0.0.0 might actually make the system based address detection unuseable in v6 scenarios.

Gruss
Bernd
-- 
http://bernd.eckenfels.net

-----Original Message-----
From: vyom <vyom.tewari at oracle.com>
To: net-dev <net-dev at openjdk.java.net>
Sent: Di., 10 Mai 2016 12:36
Subject: RFR 8016521: InetAddress should not always re-order addresses returned from name service

Hi All,

Please review the code changes for the below issue.

Bug       : JDK-8016521 : InetAddress should not always re-order 
addresses returned from name service
Webrev : 
http://cr.openjdk.java.net/~vtewari/8016521/webrev0.0/index.html 
<http://cr.openjdk.java.net/%7Evtewari/8016521/webrev0.0/index.html>

Thanks,
Vyom



More information about the net-dev mailing list