OSDN Git Service

am 2436ea18: am 90d3e3b3: Merge "Add test cases for concurrent gc and System.arraycopy"
authorElliott Hughes <enh@google.com>
Tue, 5 Jun 2012 21:16:11 +0000 (14:16 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Tue, 5 Jun 2012 21:16:11 +0000 (14:16 -0700)
* commit '2436ea181dc24ec4d91a6052394d24bf60987f25':
  Add test cases for concurrent gc and System.arraycopy

vm/reflect/Annotation.cpp

index 233db08..bd18a80 100644 (file)
@@ -679,7 +679,7 @@ static Object* createAnnotationMember(const ClassObject* clazz,
             ALOGW("WARNING: could not find annotation member %s in %s",
                 name, annoClass->descriptor);
         } else {
-            methodObj = dvmCreateReflectMethodObject(annoMeth);
+            methodObj = dvmCreateReflectObjForMethod(annoClass, annoMeth);
             methodReturn = dvmGetBoxedReturnType(annoMeth);
         }
     }