commit | 5464c73567ccccd0cda6449d2a2775814d5fe88d | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Aug 10 13:57:39 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Aug 10 18:57:19 2016 -0700 |
tree | af6143d16eb36c82ab91790b0e7d04df837c40c4 | |
parent | 6b9c54c8ae70d5a75e26bef20a26316ff7c9ab18 [diff] |
Fix pending exception failure for encoded statics ReadValueToField may allocate a string and cause OOME, we were not checking this each loop iteration. Throwing an exception with a pending exception causes an abort. Bug: 30690988 Test: test-art-host (cherry picked from commit da595bec0f9af0b087822e4febc282fe8ec28192) Change-Id: I4701a4dcc63553aeb5c7970f99fd7f136443b266