summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2019-09-27 15:54:42 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2019-10-02 12:40:06 +0000
commit86bf2fe254f2e2b3511a9c6293c4cd3a238e465e (patch)
tree297b840e8d27b31417cb109625678642bfd77775 /runtime/interpreter/interpreter.cc
parentd5fe17eac91c5c0cefb2ab8093f41ddc68c2f724 (diff)
Remove too agressive DCHECK.
Boot classpath does contain soft failures, eg: com.android.framework.protobuf.UnsafeUtil$JvmMemoryAccessor Bug: 141606408 Test: libartd boots Change-Id: Ife657a295560420fd69d14bc11c85720e250f4aa
Diffstat (limited to 'runtime/interpreter/interpreter.cc')
-rw-r--r--runtime/interpreter/interpreter.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index 0e5fdd411e..b5b01fe331 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -390,12 +390,6 @@ static inline JValue Execute(
} else {
// Enter the "with access check" interpreter.
- // The boot classpath should really not have to run access checks.
- DCHECK(method->GetDeclaringClass()->GetClassLoader() != nullptr
- || Runtime::Current()->IsVerificationSoftFail()
- || Runtime::Current()->IsAotCompiler())
- << method->PrettyMethod();
-
if (kInterpreterImplKind == kMterpImplKind) {
// No access check variants for Mterp. Just use the switch version.
if (transaction_active) {