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

Reply via email to