remove debug code from GetMethodID

This commit is contained in:
Joel Dice 2010-12-05 17:37:13 -07:00
parent c7b73e23ae
commit b1b433b63a

View File

@ -444,10 +444,7 @@ GetMethodID(Thread* t, jclass c, const char* name, const char* spec)
ENTER(t, Thread::ActiveState);
object method = findMethod(t, c, name, spec);
if (UNLIKELY(t->exception)) {
printTrace(t, t->exception);
return 0;
}
if (UNLIKELY(t->exception)) return 0;
assert(t, (methodFlags(t, method) & ACC_STATIC) == 0);