Fix InitializeClass to rerun verification for retry status.
Change-Id: If25b954a2bb3f352169afeb1b231fbb854e6fef0
diff --git a/src/class_linker.cc b/src/class_linker.cc
index b37a468..e2ae0f3 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -2357,7 +2357,8 @@
return false;
}
- if (klass->GetStatus() == Class::kStatusResolved) {
+ if (klass->GetStatus() == Class::kStatusResolved ||
+ klass->GetStatus() == Class::kStatusRetryVerificationAtRuntime) {
VerifyClass(klass);
if (klass->GetStatus() != Class::kStatusVerified) {
CHECK(self->IsExceptionPending());