Loosen class status check after resolving. am: f9e82e5cae am: 49088e8228
Original change: https://android-review.googlesource.com/c/platform/art/+/1846173
Change-Id: Ib9d05dedb0de088cb0e58f2d89506bb2f981d8f2
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc
index c85faf5..df50387 100644
--- a/runtime/class_linker.cc
+++ b/runtime/class_linker.cc
@@ -3197,7 +3197,7 @@
}
self->AssertNoPendingException();
CHECK(h_new_class != nullptr) << descriptor;
- CHECK(h_new_class->IsResolved() && !h_new_class->IsErroneousResolved()) << descriptor;
+ CHECK(h_new_class->IsResolved()) << descriptor << " " << h_new_class->GetStatus();
// Instrumentation may have updated entrypoints for all methods of all
// classes. However it could not update methods of this class while we