summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.h
diff options
context:
space:
mode:
author Sebastien Hertz <shertz@google.com> 2014-07-11 14:52:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-07-10 20:09:49 +0000
commit3641ac7de8b51c0853eaaa2ba3a3ab7e65a837c5 (patch)
tree425daeee0978d1a551ede86422643da09fbe1f43 /runtime/common_runtime_test.h
parenteab674a87b32794ae2c5e7d238292e56804de09d (diff)
parent4e99b3d8955131f3fc71aa113f0fa71f0092cb6f (diff)
Merge "Add missing class initialization during compilation and tests"
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r--runtime/common_runtime_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h
index 289dc1de4e..ac6d44b950 100644
--- a/runtime/common_runtime_test.h
+++ b/runtime/common_runtime_test.h
@@ -206,6 +206,7 @@ class CommonRuntimeTest : public testing::Test {
runtime_.reset(Runtime::Current());
class_linker_ = runtime_->GetClassLinker();
class_linker_->FixupDexCaches(runtime_->GetResolutionMethod());
+ class_linker_->RunRootClinits();
// Runtime::Create acquired the mutator_lock_ that is normally given away when we
// Runtime::Start, give it away now and then switch to a more managable ScopedObjectAccess.