RFR: JDK-8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()
Erik Joelsson
erik.joelsson at oracle.com
Thu Jan 25 21:03:27 UTC 2018
Build change looks fine.
/Erik
On 2018-01-25 10:46, Gary Adams wrote:
> Here's a first pass attempt to remove the
> -D_WINSOCK_DEPRECATED_NO_WARNINGS
> build flag and update the winsock deprecated functions.
>
> Issue: https://bugs.openjdk.java.net/browse/JDK-8080990
> Webrev: http://cr.openjdk.java.net/~gadams/8080990/
>
> These are the initial deprecated functions updated:
> gethostbyname -> getaddrinfo
> inet_addr -> inet_pton
> inet_ntoa -> inet_ntop
>
> I'm not sure how to replace the existing WSASendDisconnect calls.
> It's not clear that it actually provides a graceful disconnect.
>
>
More information about the build-dev
mailing list