[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
Sat Mar 11 01:40:00 GMT 2006



------- Comment #4 from tromey at gcc dot gnu dot org  2006-03-11 01:40 -------
Mark's problem appears to be a bytecode generation bug.
We are generating:

  6: invokespecial #65=<InterfaceMethod java.awt.peer.WindowPeer.setBounds
(int,int,int,int)void>

But this is incorrect as you cannot invoke an interface method
with invokespecial.  And, super.foo() should never call an
interface method anyway.

I don't know whether or how the original report is related,
but it isn't unreasonable to assume that it is.


-- 


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



More information about the Gcc-bugs mailing list