# HG changeset patch # User prr # Date 1392401651 28800 # Node ID d127560ad6ff1b492b395dd782d4e47d50b35b65 # Parent acf72ae6145d13e33e7ad35bb4b91f0289a6d379 8034912: backport of 8031737 to jdk8u breaks linux buld. Reviewed-by: mchung diff -r acf72ae6145d -r d127560ad6ff src/share/native/java/net/net_util.h --- a/src/share/native/java/net/net_util.h Wed Feb 12 11:36:38 2014 -0800 +++ b/src/share/native/java/net/net_util.h Fri Feb 14 10:14:11 2014 -0800 @@ -42,9 +42,6 @@ #define NET_ERROR(env, ex, msg) \ { if (!(*env)->ExceptionOccurred(env)) JNU_ThrowByName(env, ex, msg); } -#define CHECK_NULL(x) if ((x) == NULL) return; -#define CHECK_NULL_RETURN(x, y) if ((x) == NULL) return y; - /************************************************************************ * Cached field IDs *