summaryrefslogtreecommitdiff
path: root/compiler/image_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/image_test.cc')
-rw-r--r--compiler/image_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_test.cc b/compiler/image_test.cc
index cda6240bd4..c9f01c051a 100644
--- a/compiler/image_test.cc
+++ b/compiler/image_test.cc
@@ -182,7 +182,7 @@ TEST_F(ImageTest, WriteRead) {
java_lang_dex_file_ = nullptr;
MemMap::Init();
- std::unique_ptr<const DexFile> dex(LoadExpectSingleDexFile(GetLibCoreDexFileName().c_str()));
+ std::unique_ptr<const DexFile> dex(LoadExpectSingleDexFile(GetLibCoreDexFileNames()[0].c_str()));
RuntimeOptions options;
std::string image("-Ximage:");