diff options
author | Calin Juravle <calin@google.com> | 2017-07-24 16:51:21 -0700 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2017-07-24 16:52:40 -0700 |
commit | 1a509c8effc938ba3da0f90ad83abb124b296386 (patch) | |
tree | 39af8d4529cf30b052b9eb62c047b89191c247d3 /compiler/optimizing/codegen_test_utils.h | |
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
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions