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
Loading
Please sign in to comment