commit | bc939663ccfbe0c648dd6a3670041510aca82420 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Thu Aug 15 10:26:54 2013 -0700 |
committer | Ian Rogers <irogers@google.com> | Thu Aug 15 11:43:12 2013 -0700 |
tree | 40dd741cec1cefe435e666722cdf974131321d88 | |
parent | fbb0ba491042a7f8fb38f51b2f0538ca8fd074a6 [diff] |
Prevent segvs in JNI. A segv in JNI code (without CheckJNI) is hard to debug as we fail to see stacks, pending exceptions.. Make JNI code robust to null arguments, but don't go to the lengths that CheckJNI does in also sanity checking arguments, the priority here is just to stop the VM from crashing. Bug 10305723 Also, allow an unknown throw location not to crash exception dumping. Found/useful for debugging bug 10331039. Change-Id: Ib1e5540df87e2d9ce7570802d624baae7797611f