Add core-oj to the list of boot libraries.
With some of java classes packed in core-oj instead of core-libart
we need to use core-oj in runtime.
Change-Id: Ic6d5e48517b284fc626c157234b2d50b49a07196
diff --git a/runtime/dex_method_iterator_test.cc b/runtime/dex_method_iterator_test.cc
index b8f180b..2bed345 100644
--- a/runtime/dex_method_iterator_test.cc
+++ b/runtime/dex_method_iterator_test.cc
@@ -29,7 +29,7 @@
TEST_F(DexMethodIteratorTest, Basic) {
ScopedObjectAccess soa(Thread::Current());
std::vector<const DexFile*> dex_files;
- const char* jars[] = { "core-libart", "conscrypt", "okhttp", "core-junit", "bouncycastle" };
+ const char* jars[] = { "core-oj", "core-libart", "conscrypt", "okhttp", "core-junit", "bouncycastle" };
for (size_t i = 0; i < 5; ++i) {
dex_files.push_back(LoadExpectSingleDexFile(GetDexFileName(jars[i]).c_str()));
}