From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21186 invoked by alias); 21 Feb 2006 08:32:04 -0000 Received: (qmail 21019 invoked by uid 48); 21 Feb 2006 08:32:01 -0000 Date: Tue, 21 Feb 2006 08:32:00 -0000 Subject: [Bug java/26390] New: Problem dispatching method call when method does not exist in superclass X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "david at jpackage dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg02374.txt.bz2 List-Id: 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