summaryrefslogtreecommitdiffstats
path: root/runtime/jni_internal_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jni_internal_test.cc')
-rw-r--r--runtime/jni_internal_test.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/jni_internal_test.cc b/runtime/jni_internal_test.cc
index 071b658fb9..14fc25c302 100644
--- a/runtime/jni_internal_test.cc
+++ b/runtime/jni_internal_test.cc
@@ -322,11 +322,7 @@ TEST_F(JniInternalTest, FromReflectedMethod_ToReflectedMethod) {
ASSERT_TRUE(mid2 != NULL);
// Make sure we can actually use it.
jstring s = env_->NewStringUTF("poop");
- // TODO: this should return 4, but the runtime skips the method
- // invoke because the runtime isn't started. In the future it would
- // be nice to use interpretter for things like this. This still does
- // validate that we have a sane jmethodID value.
- ASSERT_EQ(0, env_->CallIntMethod(s, mid2));
+ ASSERT_EQ(4, env_->CallIntMethod(s, mid2));
}
void BogusMethod() {