diff options
| author | 2012-11-26 12:28:49 -0800 | |
|---|---|---|
| committer | 2012-11-26 12:28:49 -0800 | |
| commit | 0a9bb73c70298922ad33d67c209a4e440b216fa2 (patch) | |
| tree | b9c0597fb54ac4329ef3f6ffeb09531b53efb73c /src/object_utils.h | |
| parent | 449a49bedfb72f0d5643977a99346935f1b33c55 (diff) | |
Fixed access checks on class resolution in interpreter.
Also made interpreter throw AbstractMethodError when interpreting
abstract methods.
Change-Id: Id6396fd31e500613150407d0281383b556de9605
Diffstat (limited to 'src/object_utils.h')
| -rw-r--r-- | src/object_utils.h | 8 |
1 files changed, 0 insertions, 8 deletions
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. |