From 08f1f50d6c2e8f247b8f5f19711d75a792851c7a Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Tue, 2 Dec 2014 15:04:37 -0800 Subject: Remove FieldHelper. Change-Id: I2d74e2d5b3c35a691c95339de0db9361847fca11 --- runtime/native/java_lang_reflect_Field.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'runtime/native') diff --git a/runtime/native/java_lang_reflect_Field.cc b/runtime/native/java_lang_reflect_Field.cc index a042620..2cebf02 100644 --- a/runtime/native/java_lang_reflect_Field.cc +++ b/runtime/native/java_lang_reflect_Field.cc @@ -20,7 +20,6 @@ #include "class_linker-inl.h" #include "common_throws.h" #include "dex_file-inl.h" -#include "field_helper.h" #include "jni_internal.h" #include "mirror/art_field-inl.h" #include "mirror/art_method-inl.h" @@ -294,9 +293,8 @@ static void Field_set(JNIEnv* env, jobject javaField, jobject javaObj, jobject j StackHandleScope<2> hs(soa.Self()); HandleWrapper h_o(hs.NewHandleWrapper(&o)); HandleWrapper h_f(hs.NewHandleWrapper(&f)); - FieldHelper fh(h_f); // May cause resolution. - field_type = fh.GetType(true); + field_type = h_f->GetType(true); if (field_type == nullptr) { DCHECK(soa.Self()->IsExceptionPending()); return; -- cgit v1.1