PR java/26192
* expr.c (expand_invoke): Allow methods in arrays to be resolved
in their superclass.
* typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
array types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110799
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-02-09 Andrew Haley <aph@redhat.com>
+
+ PR java/26192
+ * expr.c (expand_invoke): Allow methods in arrays to be resolved
+ in their superclass.
+
+ * typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
+ array types.
+
2006-02-08 Tom Tromey <tromey@redhat.com>
PR java/22578:
superclass chain when we're BC-compiling. */
if (! flag_verify_invocations
&& method
+ && ! TYPE_ARRAY_P (self_type)
&& self_type != DECL_CONTEXT (method))
method = NULL_TREE;
else
strcpy (suffix, "[]");
TYPE_NAME (t)
+ = TYPE_STUB_DECL (t)
= build_decl (TYPE_DECL,
identifier_subst (el_name, "", '.', '.', suffix),
t);
+ TYPE_DECL_SUPPRESS_DEBUG (TYPE_STUB_DECL (t)) = true;
}
set_java_signature (t, sig);