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: 13 Mar 2006 17:12:51 -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 #6 from tromey at gcc dot gnu dot org 2006-03-13 17:12 -------
I added a main to the reduced test case:
public static void main(String[] args)
{
SwingFramePeer s = new SwingFramePeer();
s.setBounds();
}
With this I can almost reproduce the original bug:
opsy. gcj --main=pr26390 -o P pr26390.java
/tmp/cczetk2m.o(.text+0xd): In function `void
pr26390$SwingFramePeer::setBounds()':
pr26390.java: undefined reference to `void pr26390$WindowPeer::setBounds()'
I say "almost" since from the original report I would expect
the missing method to come from SwingWindowPeer.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26390