commit | 15216930d0d360e995480786a0a5cf9ee48a4ef7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 21 21:53:06 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Mar 21 21:53:06 2012 -0700 |
tree | 68eef3df89d935f86dbd261832854f78266a6af6 | |
parent | e5b7894351ecc5ef99442eea0700c913178c95ce [diff] |
Ensure that classes we're using for reflection are initialized. Dalvik did the equivalent of EnsureInitialized both when handing out fields and when receiving them back. We'd prefer to just check for initialization once, up front, so let's do that and just assert in debug builds that there isn't some bizarre way to get here. Change-Id: I225ec30df5a78a60259121a50f6a7c4154956bce