This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/26390] Problem dispatching method call when method does not exist in superclass
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 11 Mar 2006 01:40:44 -0000
- Subject: [Bug java/26390] Problem dispatching method call when method does not exist in superclass
- References: <bug-26390-11339@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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