From 0a9bb73c70298922ad33d67c209a4e440b216fa2 Mon Sep 17 00:00:00 2001 From: jeffhao Date: Mon, 26 Nov 2012 12:28:49 -0800 Subject: Fixed access checks on class resolution in interpreter. Also made interpreter throw AbstractMethodError when interpreting abstract methods. Change-Id: Id6396fd31e500613150407d0281383b556de9605 --- src/object_utils.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/object_utils.h') diff --git a/src/object_utils.h b/src/object_utils.h index 661773a346..6924f4eb21 100644 --- a/src/object_utils.h +++ b/src/object_utils.h @@ -677,14 +677,6 @@ class MethodHelper { return s; } - Class* ResolveClass(uint16_t type_idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - Class* c = GetDexCacheResolvedType(type_idx); - if (UNLIKELY(c == NULL)) { - c = GetClassLinker()->ResolveType(GetDexFile(), type_idx, GetDexCache(), GetClassLoader()); - } - return c; - } - private: // Set the method_ field, for proxy methods looking up the interface method via the resolved // methods table. -- cgit v1.2.3-59-g8ed1b