summaryrefslogtreecommitdiff
path: root/compiler/jni/jni_compiler_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2019-03-26 15:17:21 +0000
committer Vladimir Marko <vmarko@google.com> 2019-03-27 09:45:20 +0000
commit423bebb17f15c3867a52315f0ae421f08f14544f (patch)
tree97bdf50c7144ae21e6abfe8bdc26858a6a10f94d /compiler/jni/jni_compiler_test.cc
parent93d99f3665cbd890509f4c707e1a62c5f26d320e (diff)
ObjPtr<>-ify mirror::ObjectArray.
Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: I611b3e49d3feed306f6cd35d2b662a1e727e24c6
Diffstat (limited to 'compiler/jni/jni_compiler_test.cc')
-rw-r--r--compiler/jni/jni_compiler_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/jni/jni_compiler_test.cc b/compiler/jni/jni_compiler_test.cc
index c316499042..cbd203183d 100644
--- a/compiler/jni/jni_compiler_test.cc
+++ b/compiler/jni/jni_compiler_test.cc
@@ -1188,7 +1188,7 @@ jint Java_MyClassNatives_nativeUpCall(JNIEnv* env, jobject thisObj, jint i) {
// Check stack trace entries have expected values
for (int32_t j = 0; j < trace_array->GetLength(); ++j) {
EXPECT_EQ(-2, trace_array->Get(j)->GetLineNumber());
- mirror::StackTraceElement* ste = trace_array->Get(j);
+ ObjPtr<mirror::StackTraceElement> ste = trace_array->Get(j);
EXPECT_STREQ("MyClassNatives.java", ste->GetFileName()->ToModifiedUtf8().c_str());
EXPECT_STREQ("MyClassNatives", ste->GetDeclaringClass()->ToModifiedUtf8().c_str());
EXPECT_EQ(("fooI" + CurrentJniStringSuffix()), ste->GetMethodName()->ToModifiedUtf8());