commit | ff0f9bea6355fe0c420815f9b894e6bb634fe764 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Mon Aug 29 15:43:53 2011 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Mon Aug 29 16:17:56 2011 -0700 |
tree | 9e975b6d42f754e8202e627ca0a76833881c3894 | |
parent | 9b576b4ed1dbe035952f3106d8f4b6993125ed6f [diff] |
Fix DexFile's line number and test EH and StackTraceElement in 3 ways. Testing exception handling: 1. Walking stack 10 levels and then check depth == 10. 2. Check if correct stack trace is being generated. 3. For native frame, lineno should be -2 to indicate it is native. Note that "line number == -2" is how libcore tells from StackTraceElement. Change-Id: If38c16a59624f259985bcfcebc337b73b0582460