diff options
author | Alex Light <allight@google.com> | 2019-05-07 15:28:39 -0700 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2019-05-09 17:42:46 +0000 |
commit | 3f0bfae2d1124a6f48fc342649c2aab4ce566447 (patch) | |
tree | 0c5308de42174429148e739c056508c74a9204f8 /test/008-exceptions/src/MultiDexBadInit.java | |
parent | 7764828178035833b68bd861c78f40632d6b2ba7 (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
Merged-In: I9f959569f90dbb75de0010173b119472a4b5864e
(cherry picked from commit 342b69492cd0789d1c0903bb6d948e505e708048)
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions