Method.java (hashCode): Use getName().
* java/lang/reflect/Method.java (hashCode): Use getName(). (toString): Likewise. * java/lang/reflect/natMethod.cc (getType): Initialize exception_types. From-SVN: r35561
This commit is contained in:
@@ -203,6 +203,10 @@ java::lang::reflect::Method::getType ()
|
||||
declaringClass,
|
||||
¶meter_types,
|
||||
&return_type);
|
||||
|
||||
// FIXME: for now we have no way to get exception information.
|
||||
exception_types = (JArray<jclass> *) JvNewObjectArray (0, &ClassClass,
|
||||
NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user