This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/26390] New: Problem dispatching method call when method does not exist in superclass
- From: "david at jpackage dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 21 Feb 2006 08:32:01 -0000
- Subject: [Bug java/26390] New: Problem dispatching method call when method does not exist in superclass
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Classpath 0.21-pre contains the following code in
gnu/java/awt/peer/swing/SwingFramePeer.java:
public void setBounds(int x, int y, int w, int h)
{
super.setBounds(x, y, w, h);
if (menuBar != null)
menuBar.setWidth(w);
where the method setBounds(int, int, int, int) does not exist in the immediate
superclass (SwingWindowPeer). The class appears to compile, but during the
linking phase we get undefined reference to
java::awt::peer::swing::SwingWindowPeer::setBounds(int, int, int, int).
--
Summary: Problem dispatching method call when method does not
exist in superclass
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: david at jpackage dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26390