Patch: RFA: PR java/15710

Andrew Haley aph@redhat.com
Wed Sep 29 07:06:00 GMT 2004


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.



More information about the Java-patches mailing list