Re: 8034182: Misc. warnings in java.net code

2014-02-11 Thread Chris Hegarty
Thanks Alan, I appreciate the drive-by! The changes look good to me. -Chris. On 11 Feb 2014, at 13:13, Alan Bateman wrote: > > This is drive-by fix to a number of native code warnings in the networking > code. > > In NET_SockaddrToInetAddress then CHECK_NULL_RETURN is used to check the > re

8034182: Misc. warnings in java.net code

2014-02-11 Thread Alan Bateman
This is drive-by fix to a number of native code warnings in the networking code. In NET_SockaddrToInetAddress then CHECK_NULL_RETURN is used to check the return value from setInet6Address_ipaddress but the return is an int rather than a pointer. In PlainDatagramSocketImpl's mcast_join_leave