This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java 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]

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



------- 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


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