summaryrefslogtreecommitdiff
path: root/runtime/native/java_lang_VMClassLoader.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2019-04-17 12:35:08 -0700
committer Mathieu Chartier <mathieuc@google.com> 2019-04-17 12:36:07 -0700
commit2e2f9e8c6989dec22e4199a773a1e03954f82365 (patch)
treeba9745bcf08b758d71b458929ca9bf35f9aa7a69 /runtime/native/java_lang_VMClassLoader.cc
parentd399f579cf2a8462ef6f1fbea360fe62be174377 (diff)
Revert "Fix correctness for fast path class loading"
Bug: 130310316 Bug: 130293184 Bug: 130209120 Bug: 130680590 Test: TH This reverts commit ef04ac6c05fa344428008ffa1eac7316c64a3467. Change-Id: I2ee8a20419da251eed2620b7feb390053c0cdcb9
Diffstat (limited to 'runtime/native/java_lang_VMClassLoader.cc')
-rw-r--r--runtime/native/java_lang_VMClassLoader.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/native/java_lang_VMClassLoader.cc b/runtime/native/java_lang_VMClassLoader.cc
index 11e02a2ce4..46162c1989 100644
--- a/runtime/native/java_lang_VMClassLoader.cc
+++ b/runtime/native/java_lang_VMClassLoader.cc
@@ -57,12 +57,8 @@ class VMClassLoader {
REQUIRES_SHARED(Locks::mutator_lock_) {
ObjPtr<mirror::Class> result;
if (cl->FindClassInBaseDexClassLoader(soa, self, descriptor, hash, class_loader, &result)) {
- DCHECK(!self->IsExceptionPending());
return result;
}
- if (self->IsExceptionPending()) {
- self->ClearException();
- }
return nullptr;
}
};