Try this. Let me know if it fixes your problem.
Andrew.
2004-02-23 Andrew Haley <aph@redhat.com>
* class.c (layout_class_methods): Check for CLASS_INTERFACE as
well as CLASS_ABSTRACT.
Index: class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/class.c,v
retrieving revision 1.176
diff -p -2 -c -r1.176 class.c
*** class.c 15 Jan 2004 10:24:25 -0000 1.176
--- class.c 23 Feb 2004 20:55:22 -0000
*************** layout_class_methods (tree this_class)
*** 2054,2058 ****
{
tree method_decl, dtable_count;
! tree super_class;
if (TYPE_NVIRTUALS (this_class))
--- 2074,2078 ----
{
tree method_decl, dtable_count;
! tree super_class, type_name;
if (TYPE_NVIRTUALS (this_class))
*************** layout_class_methods (tree this_class)
*** 2071,2075 ****
dtable_count = integer_zero_node;
! if (CLASS_ABSTRACT (TYPE_NAME (this_class)))
{
/* An abstract class can have methods which are declared only in
--- 2091,2096 ----
dtable_count = integer_zero_node;
! type_name = TYPE_NAME (this_class);
! if (CLASS_ABSTRACT (type_name) || CLASS_INTERFACE (type_name))
{
/* An abstract class can have methods which are declared only in