commit | 33befa4cee5c30d82f0a496de28edfffccdcfbfb | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jessewilson@google.com> | Thu Aug 19 17:11:14 2010 -0700 |
committer | Jesse Wilson <jessewilson@google.com> | Thu Aug 19 17:11:14 2010 -0700 |
tree | aa22cf624cf6de6113da517ac64fbeff3960cac8 | |
parent | 3031fc39b220e6d450590666512e7d9c3e78ede4 [diff] |
Fix the exception thrown by getDeclaredFields if the class is unavailable. http://b/issue?id=2634005
diff --git a/vm/reflect/Reflect.c b/vm/reflect/Reflect.c index 7e93f19..912ff47 100644 --- a/vm/reflect/Reflect.c +++ b/vm/reflect/Reflect.c
@@ -220,8 +220,6 @@ if (clazz == NULL) { LOGW("Unable to match class for part: '%s'\n", *pSignature); - dvmClearException(dvmThreadSelf()); - dvmThrowException("Ljava/lang/NoSuchMethodException;", NULL); } *pSignature = signature; return clazz;