diff options
author | 2020-07-29 10:03:46 +0100 | |
---|---|---|
committer | 2020-07-29 13:58:15 +0000 | |
commit | 5439f051a950f0281eeafb8e8064839f2aea6e38 (patch) | |
tree | 889efef779fa462357f77cb2166c600cb0d60679 /runtime/native/java_lang_VMClassLoader.cc | |
parent | 483bf78ae61ab43a3d513cef0de0072e86d0b0b1 (diff) |
Revert^3 "VIXL simulator for ART (Stage1)"
This reverts commit e886d68b9c40c941d8966b9c90d0e265c75fb19e.
Reason for revert: simulator implemention is not ready yet.
Test: lunch aosp_cf_x86_phone-userdebug && m
Test: art/test.py --run-test --optimizing --host
Change-Id: I03c8c09ea348205b0238d7a26caef3477cd6ae3b
Diffstat (limited to 'runtime/native/java_lang_VMClassLoader.cc')
-rw-r--r-- | runtime/native/java_lang_VMClassLoader.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/native/java_lang_VMClassLoader.cc b/runtime/native/java_lang_VMClassLoader.cc index 27dd9709bd..11e02a2ce4 100644 --- a/runtime/native/java_lang_VMClassLoader.cc +++ b/runtime/native/java_lang_VMClassLoader.cc @@ -143,10 +143,8 @@ static jobjectArray VMClassLoader_getBootClassPathEntries(JNIEnv* env, jclass) { const DexFile* dex_file = path[i]; // For multidex locations, e.g., x.jar!classes2.dex, we want to look into x.jar. - std::string location(DexFileLoader::GetBaseLocation(dex_file->GetLocation())); - if (Runtime::SimulatorMode()) { - location = getenv("ANDROID_PRODUCT_OUT") + location; - } + const std::string location(DexFileLoader::GetBaseLocation(dex_file->GetLocation())); + ScopedLocalRef<jstring> javaPath(env, env->NewStringUTF(location.c_str())); if (javaPath.get() == nullptr) { DCHECK(env->ExceptionCheck()); |