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] New: Problem dispatching method call when method does not exist in superclass


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


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