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
4 files changed
tree: 9e975b6d42f754e8202e627ca0a76833881c3894
  1. Android.mk
  2. build/
  3. src/
  4. test/
  5. tools/