summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_VMClassLoader.cc
diff options
context:
space:
mode:
author Ulyana Trafimovich <skvadrik@google.com> 2020-07-16 14:17:11 +0000
committer Ulyana Trafimovich <skvadrik@google.com> 2020-07-16 14:17:11 +0000
commit3060bb919cd2f37c6a97e87c1581ac5294af72b3 (patch)
tree6a2b517812ff83cd10cc3b055635d0746157b345 /runtime/native/java_lang_VMClassLoader.cc
parent48ca6a681efe1fa1cf82d8af918bf9bbfd35ae96 (diff)
Revert "VIXL simulator for ART (Stage1)"
This reverts commit 48ca6a681efe1fa1cf82d8af918bf9bbfd35ae96. Reason for revert: broken build 6685551 on aosp-master on full-eng Bug: 161440641 Change-Id: I849fe53f56c4786f0f2a1605cbfd215559f11072
Diffstat (limited to 'runtime/native/java_lang_VMClassLoader.cc')
-rw-r--r--runtime/native/java_lang_VMClassLoader.cc6
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());