Commit 443f8628 authored by Chang Xing's avatar Chang Xing
Browse files

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
parent 83b14047
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment