commit | c0bd4dace0ded3e7dee83f658f53370f1852b567 | [log] [tgz] |
---|---|---|
author | Jeff Hao <jeffhao@google.com> | Thu Apr 11 15:52:28 2013 -0700 |
committer | Jeff Hao <jeffhao@google.com> | Thu Apr 11 15:52:28 2013 -0700 |
tree | 93d8ef2c7945a8ee00923fbb6d100ab06c819e7d | |
parent | c1fcdf1ec5a8c5ffaf9e857ea81ac7358d1df7f5 [diff] |
Temporarily clear exception during ExceptionCaughtEvent. If there are listeners for the exception caught event, the exception needs to be cleared since Check JNI checks to make sure there aren't any pending exceptions. This change clears the thread's exception, then resets it after the event is sent. Change-Id: Ib7b5b52dafd73ff41bbdf30b866a8e9e6cd085cc