commit | 505549aef3c7a38d4df7c2887bdbf24923724880 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Aug 06 13:39:17 2014 -0700 |
committer | The Android Automerger <android-build@google.com> | Wed Aug 06 15:47:09 2014 -0700 |
tree | 5af013c2f71f0b4d2c3fe66f974642223070644c | |
parent | 06030209d1f33d847eb84371d00ecaaa7e381ab0 [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