libgcj/8823: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)
Tom Tromey
tromey@redhat.com
Sun Dec 8 14:56:00 GMT 2002
The following reply was made to PR libgcj/8823; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: mark@klomp.org
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/8823: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)
Date: 08 Dec 2002 15:54:04 -0700
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> Number: 8823
Mark> Synopsis: gij doesn't handle "Marinda methods" (abstract class that implements interface but doesn't define all methods)
I looked at this today.
First, gcj should probably generate a declaration for each such method
in the abstract class' .class file. I think there may be another PR
on this topic.
Second, we definitely have to search for the method in this case. I'm
testing a fix; in resolve.cc we now search superinterfaces of abstract
classes.
Tom
More information about the Gcc-prs
mailing list