This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: RFA: PR java/15710
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 28 Sep 2004 18:08:30 +0100
- Subject: Patch: RFA: PR java/15710
- References: <m3655ytlaq.fsf@localhost.localdomain>
Tom Tromey writes:
> PR 15710 occurs because we try to add Miranda methods before ensuring
> that all our superinterfaces are loaded.
>
> This patch fixes the problem by forcing each superinterface to be
> loaded at the appropriate moment. I don't really understand the class
> loading strategy in gcj; I looked around and it seems that we have
> similar ad hoc load_class calls elsewhere, so this is what I did.
>
> Tested on x86 FC2 including mauve and jacks. No regressions.
>
> Ok?
>
> Tom
>
> Index: ChangeLog
> from Tom Tromey <tromey@redhat.com>
>
> PR java/15710:
> * class.c (add_miranda_methods): Load superinterface if not
> already loaded.
Yes, I think so.
I fixed some similar stuff on the BC ABI branch. Maybe we better
postpone some of these bug fixes 'til we merge, or maybe fix them on
the branch.
Andrew.