commit | fdc3c3dd0daaed56d24ee648d123a0156c0bca8a | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Mon Jul 24 16:51:21 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Wed Jul 26 17:01:03 2017 -0700 |
tree | 34b94b3057a87ffcb5509c8557ab64c4fd877a8a | |
parent | 674cb8c82563dd0abc22b8274a80016d64af1c05 [diff] |
Be prepared to handle empty class loader contexts When executing run-tests we can hit an empty class loader contexts if the compilation sources are passed with "-cp" and later removed from the context. Be prepared for such case and assume a PathClassLoader context. Bug: 63977059 Test: ./art/test/run-test --host --optimizing --dev test-art-host (cherry picked from commit 1a509c8effc938ba3da0f90ad83abb124b296386) Change-Id: I2db637a1fc83beb760e1724edd6138b0614aa19b