Re: RFR 8202091 : Rename DualStackPlainSocketImpl to PlainSocketImpl [win]

2018-04-20 Thread Ivan Gerasimov
The correct links to the Bug and webrev are: BUGURL: https://bugs.openjdk.java.net/browse/JDK-8202091 WEBREV: http://cr.openjdk.java.net/~igerasim/8202091/00/webrev/ Sorry for confusion! With kind regards, Ivan On 4/20/18 1:32 PM, Ivan Gerasimov wrote: Hello! After integrating the fix for JD

RFR 8202091 : Rename DualStackPlainSocketImpl to PlainSocketImpl [win]

2018-04-20 Thread Ivan Gerasimov
Hello! After integrating the fix for JDK-8201510, there is only one implementation of PlainSocketImpl left on Windows. It is proposed to just rename DualStackPlainSocketImpl to PlainSocketImpl and avoid the indirection. Some minor cleanup was done with this change: - dropping static PlainSo

[PATCH] JDK-8201545 Clarify the return value of InetAddress.getByName/getAllName for empty host value

2018-04-20 Thread Jaikiran Pai
Hi, The attached patch addresses the issue noted in [1], by updating the javadoc of InetAddress.getByName and InetAddress.getAllByName to clarify that these methods return a loopback address, if the host parameter is an empty string (same behaviour as host == null). The patch also updates an