--- old/src/solaris/native/java/net/Inet6AddressImpl.c Wed Jan 21 16:46:42 2015 +++ new/src/solaris/native/java/net/Inet6AddressImpl.c Wed Jan 21 16:46:42 2015 @@ -196,6 +196,7 @@ } name = (*env)->NewStringUTF(env, hostname); + CHECK_NULL_RETURN(name); /* Iterate over the interfaces, and total up the number of IPv4 and IPv6 * addresses we have. Also keep a count of loopback addresses. We need to