commit | d1a7fca1451bf4ab7f9b704c0bace180095c2237 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Aug 06 13:39:17 2014 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Aug 06 14:01:09 2014 -0700 |
tree | fdd2e94343789d67849e246a7a8cfb095b6e592d | |
parent | cd3a22cfec09c065d0667dd044c0788912e82465 [diff] |
Fix JNI error in exception reporting. There was a JNI error where when you got an OOM and called report_exception, it would call two NewStringUTF in a row without checking the return values. This could mean that the first one threw a new OOME and the second one would cause a JNI error when it also attempted to throw an OOME with a pending OOME. Bug: 16843627 (cherry picked from commit cf6775eece8628ac069a6d4803e7f20a017e7e62) Change-Id: Ibdc7d0e55a48b2a61a1db0868a5d77c2ae53f6f3