commit | 441d9126a8682da29f0ea3fa0040b7e0c63025be | [log] [tgz] |
---|---|---|
author | jeffhao <jeffhao@google.com> | Wed Mar 21 17:29:10 2012 -0700 |
committer | jeffhao <jeffhao@google.com> | Fri Mar 23 17:15:47 2012 -0700 |
tree | 9d856632c8d19394d5f0561b1ce3199c8ecba099 | |
parent | a035e838be7df28c354b75cfa30296c4d0da0b8b [diff] |
Class getField/Method returns NULL if type/args are unresolved. These changes check that a field's type is resolved before returning it through getDeclaredField, and that a method's return type and argument types are resolved before returning it through getDeclaredMethods. This fixes test failures in libcore MissingClassesTest. (cherry picked from commit 1ae431a01516b6c91f031aff37c756b7e4f63dd1) Change-Id: I6bd5601a975e677be6438b1efcb1b1f1ecde900c