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:
Tom Tromey
2000-08-08 03:34:51 +00:00
committed by Tom Tromey
parent f0f3a77740
commit d7ec12ae74
3 changed files with 11 additions and 2 deletions
+4
View File
@@ -203,6 +203,10 @@ java::lang::reflect::Method::getType ()
declaringClass,
&parameter_types,
&return_type);
// FIXME: for now we have no way to get exception information.
exception_types = (JArray<jclass> *) JvNewObjectArray (0, &ClassClass,
NULL);
}
void