summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-10-28 14:33:28 -0700
committer Andreas Gampe <agampe@google.com> 2016-11-01 08:23:27 -0700
commit46aba36a1c982567d7e80a62b0cff9c0935e7455 (patch)
tree597b436db28186864524d5208628082e52a5ff52 /runtime/common_runtime_test.cc
parentbda454e9a09018cde1ea2ee10f0fdd5bf2ad756b (diff)
ART: Move pathList well-known-field to actual class
Use the actual declaring class, BaseDexClassLoader. Test: m test-art-host Change-Id: Ie051e7d45dd73f6adc3c90bc8acc523f204dfab5
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r--runtime/common_runtime_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc
index d929812d57..3409938c50 100644
--- a/runtime/common_runtime_test.cc
+++ b/runtime/common_runtime_test.cc
@@ -524,7 +524,7 @@ std::vector<const DexFile*> CommonRuntimeTestImpl::GetDexFiles(jobject jclass_lo
ArtField* dex_file_field =
soa.DecodeField(WellKnownClasses::dalvik_system_DexPathList__Element_dexFile);
ObjPtr<mirror::Object> dex_path_list =
- soa.DecodeField(WellKnownClasses::dalvik_system_PathClassLoader_pathList)->
+ soa.DecodeField(WellKnownClasses::dalvik_system_BaseDexClassLoader_pathList)->
GetObject(class_loader.Get());
if (dex_path_list != nullptr && dex_file_field!= nullptr && cookie_field != nullptr) {
// DexPathList has an array dexElements of Elements[] which each contain a dex file.