Even better reflection IllegalArgumentException detail messages and less code.
Also ensure that the new 200-reflection-errors run-test test gets run
by the "test-art" make target.
Bug: 6504175
Change-Id: I5afee8845715151d25ed4751381b6ceb8cb4eca5
diff --git a/src/reflection.h b/src/reflection.h
index aabf513..50c36d7 100644
--- a/src/reflection.h
+++ b/src/reflection.h
@@ -25,11 +25,12 @@
class Class;
class Field;
union JValue;
+class Method;
class Object;
void InitBoxingMethods();
void BoxPrimitive(Primitive::Type src_class, JValue& value);
-bool UnboxPrimitiveForArgument(Object* o, Class* dst_class, JValue& unboxed_value, size_t index);
+bool UnboxPrimitiveForArgument(Object* o, Class* dst_class, JValue& unboxed_value, Method* m, size_t index);
bool UnboxPrimitiveForField(Object* o, Class* dst_class, JValue& unboxed_value, Field* f);
bool UnboxPrimitiveForResult(Object* o, Class* dst_class, JValue& unboxed_value);