summaryrefslogtreecommitdiff
path: root/runtime/interpreter/unstarted_runtime_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-05-31 12:55:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-05-31 12:55:53 +0000
commit1539a11150ca9c28fec353b38508267c41d7814b (patch)
treea720b8e022c4eb6ddf222bdd3fea739147c94065 /runtime/interpreter/unstarted_runtime_test.cc
parentc8c4f2930892c612cadea9b5906858745c401707 (diff)
parenta8bba7d0853b372aea3ed3ea154fb2b2a23c2c9d (diff)
Merge "ObjPtr<>-ify ClassLinker::FindClass(), fix 1 stale reference use."
Diffstat (limited to 'runtime/interpreter/unstarted_runtime_test.cc')
-rw-r--r--runtime/interpreter/unstarted_runtime_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/unstarted_runtime_test.cc b/runtime/interpreter/unstarted_runtime_test.cc
index 88cfafba47..fee837572b 100644
--- a/runtime/interpreter/unstarted_runtime_test.cc
+++ b/runtime/interpreter/unstarted_runtime_test.cc
@@ -196,7 +196,7 @@ class UnstartedRuntimeTest : public CommonRuntimeTest {
// Prepare for aborts. Aborts assume that the exception class is already resolved, as the
// loading code doesn't work under transactions.
void PrepareForAborts() REQUIRES_SHARED(Locks::mutator_lock_) {
- mirror::Object* result = Runtime::Current()->GetClassLinker()->FindClass(
+ ObjPtr<mirror::Object> result = Runtime::Current()->GetClassLinker()->FindClass(
Thread::Current(),
Transaction::kAbortExceptionSignature,
ScopedNullHandle<mirror::ClassLoader>());