diff --git a/src/share/native/java/net/net_util.h b/src/share/native/java/net/net_util.h index ab440c812f704d60d990f830b68bf0bf92ecd64c..8286a853c8a568c7365397d5d8f742b7f19074bf 100644 --- a/src/share/native/java/net/net_util.h +++ b/src/share/native/java/net/net_util.h @@ -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 *