commit | 1a509c8effc938ba3da0f90ad83abb124b296386 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Mon Jul 24 16:51:21 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Mon Jul 24 16:52:40 2017 -0700 |
tree | 39af8d4529cf30b052b9eb62c047b89191c247d3 | |
parent | 41acdc1df1bceaa462d134b8ce30419d301e76d7 [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 Change-Id: Id0fa853b2407e358592f89766adb5dad19137289