From 1bc977cf2f8199311a97f2ba9431a184540e3e9c Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Sat, 23 Jan 2016 14:15:49 +0000 Subject: Revert "Load app images" Fails when a method is duplicated (see test 097-duplicate-method) Bug: 22858531 This reverts commit f7fd970244f143b1abb956e29794c446e4d57f46. Change-Id: Ib30ae5be00cc568e799290be6b3c8f29cbbe4c20 --- runtime/mirror/object_array-inl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/mirror/object_array-inl.h') diff --git a/runtime/mirror/object_array-inl.h b/runtime/mirror/object_array-inl.h index 6f9d64297a..5337760fb8 100644 --- a/runtime/mirror/object_array-inl.h +++ b/runtime/mirror/object_array-inl.h @@ -55,13 +55,13 @@ inline ObjectArray* ObjectArray::Alloc(Thread* self, Class* object_array_c Runtime::Current()->GetHeap()->GetCurrentAllocator()); } -template template +template inline T* ObjectArray::Get(int32_t i) { if (!CheckIsValidIndex(i)) { DCHECK(Thread::Current()->IsExceptionPending()); return nullptr; } - return GetFieldObject(OffsetOfElement(i)); + return GetFieldObject(OffsetOfElement(i)); } template template -- cgit v1.2.3-59-g8ed1b