From b1b433b63a0d1b95b06bda3b930e108aec8d7ed2 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sun, 5 Dec 2010 17:37:13 -0700 Subject: [PATCH] remove debug code from GetMethodID --- src/jnienv.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/jnienv.cpp b/src/jnienv.cpp index b315dac3ae..5f74c6dd9f 100644 --- a/src/jnienv.cpp +++ b/src/jnienv.cpp @@ -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);