JDK-8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()
Alan Bateman
Alan.Bateman at oracle.com
Wed Feb 7 17:48:08 UTC 2018
On 07/02/2018 17:31, Chris Hegarty wrote:
> Gary,
>
>> http://cr.openjdk.java.net/%7Egadams/8080990/webrev.02/
> I think the replacement of WSASendDisconnect with
> shutdown(SD_SEND) should be fine. I do note that there
> is another usage of WSASendDisconnect in
> java.base/windows/native/libnet/net_util_md.c.
>
> [ Maybe you want to separate out the changes in java.base
> ( NIO and NET ) from the serviceability changes? Up to
> you. ]
>
Is NIO SocketDispatcher change needed in this patch? I would prefer if
we could separate this was WSASendDisconnect was the semantics that we need.
-Alan
More information about the serviceability-dev
mailing list