diff options
Diffstat (limited to 'runtime/mirror/class.cc')
| -rw-r--r-- | runtime/mirror/class.cc | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/mirror/class.cc b/runtime/mirror/class.cc index f7ff735fcc..1b8f3f83e7 100644 --- a/runtime/mirror/class.cc +++ b/runtime/mirror/class.cc @@ -951,8 +951,7 @@ ObjPtr<Class> Class::GetDirectInterface(Thread* self, ObjPtr<Class> klass, uint3      return interfaces->Get(idx);    } else {      dex::TypeIndex type_idx = klass->GetDirectInterfaceTypeIdx(idx); -    ObjPtr<Class> interface = ClassLinker::LookupResolvedType( -        type_idx, klass->GetDexCache(), klass->GetClassLoader()); +    ObjPtr<Class> interface = klass->GetDexCache()->GetResolvedType(type_idx);      return interface;    }  }  |