commit | 443f8628acaf1308802cbc21865bcfd38dce8b4d | [log] [tgz] |
---|---|---|
author | Chang Xing <chxing@google.com> | Thu Jun 08 11:31:48 2017 -0700 |
committer | Chang Xing <chxing@google.com> | Thu Jun 08 11:44:00 2017 -0700 |
tree | 2f9f939cdd7bc2c1f4f0b8ce08c0c83924073a42 | |
parent | 83b140474aa1759739c8ee4464bf226c4fa0f6d7 [diff] |
Fix local reference leak under reflection. Checks fail caused by a local reference leak when reflection throwns an exception which prevents GC to prune classes during initialization. Fixed by use ScopedLocalRef to release the resource after using. Test: test-art-host Change-Id: Ife160cfb768497ab3d6d1ca9686da0d6bc3281fb