This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: RFA: PR java/15710


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]