diff -r c766ae777656 -r b5e2827ecc50 jdk/src/share/native/sun/awt/medialib/safe_alloc.h --- a/jdk/src/share/native/sun/awt/medialib/safe_alloc.h Thu Mar 21 10:43:23 2013 -0700 +++ b/jdk/src/share/native/sun/awt/medialib/safe_alloc.h Thu Feb 07 19:15:59 2013 +0400 @@ -41,10 +41,4 @@ (((w) > 0) && ((h) > 0) && ((sz) > 0) && \ (((0xffffffffu / ((juint)(w))) / ((juint)(h))) > ((juint)(sz)))) -#define SAFE_TO_MULT(a, b) \ - (((a) > 0) && ((b) >= 0) && ((0x7fffffff / (a)) > (b))) - -#define SAFE_TO_ADD(a, b) \ - (((a) >= 0) && ((b) >= 0) && ((0x7fffffff - (a)) > (b))) - #endif // __SAFE_ALLOC_H__