[Bug java/26390] Problem dispatching method call when method does not exist in superclass

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 13 19:07:00 GMT 2006



------- Comment #7 from tromey at gcc dot gnu dot org  2006-03-13 19:07 -------
The bug here is that gcj implements method inheritance incorrectly.
In particular it does not consider SwingWindowPeer.setBounds
as a candidate method for the super.setBounds() call, because it
has no notion that there is a method named "SwingWindowPeer.setBounds".
Instead it only considers SwingComponentPeer.setBounds -- which is
not maximal and thus not selected.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26390



More information about the Gcc-bugs mailing list