Commit 413a8add authored by Alex Light's avatar Alex Light
Browse files

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
parent 794350fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment