commit | ce6ee70ba59871b73bd7556f3bc75ce8e7d6451c | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Mon Mar 06 15:46:43 2017 -0800 |
committer | Alex Light <allight@google.com> | Mon Mar 06 16:12:12 2017 -0800 |
tree | 911c80f8bcd0d754a000647d993962622103733f | |
parent | f9d80d72a686048200bcf6a7f37192f9eb75d5bd [diff] |
Check IsModifiableClass earlier in redefineClasses and retransformClasses We were not checking this until we actually tried to install the definition. This meant that we could send dex file data to agents even if there is no chance of it being used. We would also try to get the dex file name for non-existant dex files causing crashes. Bug: 31455788 Test: ./test/testrunner/testrunner.py --host -t 921-hello-failure Change-Id: I647a057fe916861d555ae142a2961f449f1bc3a5