Commit 21140beb by Tom Tromey Committed by Tom Tromey

re PR java/8415 (reflection bug: exception info for Method)

	* class.c (make_method_value): Put class name, not signature, into
	`throws' field.  For PR java/8415.

From-SVN: r58758
parent fead5eb5
2002-11-02 Tom Tromey <tromey@redhat.com>
* class.c (make_method_value): Put class name, not signature, into
`throws' field. For PR java/8415.
2002-10-24 Tom Tromey <tromey@redhat.com>
* gcj.texi (Invoking gij): Document --showversion.
......
......@@ -1285,7 +1285,7 @@ make_method_value (mdecl)
iter != NULL_TREE;
iter = TREE_CHAIN (iter))
{
tree sig = build_java_signature (TREE_VALUE (iter));
tree sig = DECL_NAME (TYPE_NAME (TREE_VALUE (iter)));
tree utf8
= build_utf8_ref (unmangle_classname (IDENTIFIER_POINTER (sig),
IDENTIFIER_LENGTH (sig)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment