commit | 413a8add7bdbf594122c1a2b3751eb798ce71cd7 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Thu Feb 14 10:19:44 2019 -0800 |
committer | Alex Light <allight@google.com> | Thu Feb 14 10:20:36 2019 -0800 |
tree | a6b85afab0927ae7e5fa947048e70c828169fd25 | |
parent | 794350fd0e21aa9e259b6c45394494871e7fdb13 [diff] |
Check jclasses are actually classes in ti_redefine. There were a few places where we decoded jclasses and cast them to mirror::Class without actually checking that they are classes first. This makes us correctly return an INVALID_CLASS error if a non-class jobject is given. Test: ./test.py --host -j80 Change-Id: I4cee80726409019ff174333b59a5e4395c069ff6