commit | 342b69492cd0789d1c0903bb6d948e505e708048 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Tue May 07 15:28:39 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed May 08 19:42:49 2019 +0000 |
tree | ab3cbcdd37a1afc1b0ae96bf756c332a2b4ccbdc | |
parent | b34981b0b7a16b084a4ab30ce509ee98bf171e63 [diff] |
Fix JVMTI GetStackTrace bug GetStackTrace would incorrectly return ERR(ILLEGAL_ARGUMENT) if the number frames returned was less then the start depth and start depth was >= 0. This made some legal stack trace calls impossible. Instead it should have been checking that at least one frame was retrieved (since otherwise the start-depth was off the stack). Test: ./test.py --host Bug: 132196976 Change-Id: I9f959569f90dbb75de0010173b119472a4b5864e