Tracking rebase to jb-mr1-release
Change-Id: Ic2ae1a27682cc4152003a68d59068b2c5c5eb09b
diff --git a/src/compiler/jni/jni_compiler_test.cc b/src/compiler/jni/jni_compiler_test.cc
index 5176752..77dd51e 100644
--- a/src/compiler/jni/jni_compiler_test.cc
+++ b/src/compiler/jni/jni_compiler_test.cc
@@ -75,7 +75,8 @@
CompileForTest(class_loader_, direct, method_name, method_sig);
// Start runtime.
Thread::Current()->TransitionFromSuspendedToRunnable();
- runtime_->Start();
+ bool started = runtime_->Start();
+ CHECK(started);
}
// JNI operations after runtime start.
env_ = Thread::Current()->GetJniEnv();
@@ -532,7 +533,8 @@
}
// Start runtime to avoid re-initialization in SetupForTest.
Thread::Current()->TransitionFromSuspendedToRunnable();
- runtime_->Start();
+ bool started = runtime_->Start();
+ CHECK(started);
gJava_MyClassNatives_foo_calls = 0;