diff options
Diffstat (limited to 'runtime/dex_file_annotations.cc')
-rw-r--r-- | runtime/dex_file_annotations.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/dex_file_annotations.cc b/runtime/dex_file_annotations.cc index 2b81f0a99a..b556745a1b 100644 --- a/runtime/dex_file_annotations.cc +++ b/runtime/dex_file_annotations.cc @@ -695,8 +695,7 @@ mirror::Object* CreateAnnotationMember(const ClassData& klass, if (annotation_method == nullptr) { return nullptr; } - Handle<mirror::Class> method_return(hs.NewHandle( - annotation_method->GetReturnType(true /* resolve */))); + Handle<mirror::Class> method_return(hs.NewHandle(annotation_method->ResolveReturnType())); DexFile::AnnotationValue annotation_value; if (!ProcessAnnotationValue<false>(klass, @@ -1073,7 +1072,7 @@ mirror::Object* GetAnnotationDefaultValue(ArtMethod* method) { } DexFile::AnnotationValue annotation_value; StackHandleScope<1> hs(Thread::Current()); - Handle<mirror::Class> return_type(hs.NewHandle(method->GetReturnType(true /* resolve */))); + Handle<mirror::Class> return_type(hs.NewHandle(method->ResolveReturnType())); if (!ProcessAnnotationValue<false>(klass, &annotation, &annotation_value, |