public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass
@ 2004-12-02 20:39 ovidr at users dot sourceforge dot net
  2004-12-02 20:40 ` [Bug java/18796] " ovidr at users dot sourceforge dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-12-02 20:39 UTC (permalink / raw)
  To: java-prs

gcj -c -o bla.o sancho/view/transfer/AbstractDetailDialog.java

sancho/view/transfer/AbstractDetailDialog.java: In class
'sancho.view.transfer.AbstractDetailDialog':
sancho/view/transfer/AbstractDetailDialog.java: In constructor '(int)':
sancho/view/transfer/AbstractDetailDialog.java:11: error: Can't find constructor
'org.eclipse.swt.widgets.Dialog(I)' in type 'org.eclipse.swt.widgets.Dialog'.
       super(i); 

gcc version 4.0.0 20041130 (experimental) doesn't work.
gcc version 3.3.2 20031022 works fine.

It is due to the
"import org.eclipse.swt.widgets.*" in 
sancho/view/transfer/downloads/DownloadTableTreeView.java

Changing AbstractDetailDialog.java to explicitly import the correct Dialog class
fixes it:

public abstract class AbstractDetailDialog extends
org.eclipse.jface.dialogs.Dialog {

(will attach small zip file)

-- 
           Summary: [4.0 Regression] gcj imports wrong superclass
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ovidr at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-08-22  2:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
2004-12-02 20:40 ` [Bug java/18796] " ovidr at users dot sourceforge dot net
2004-12-02 20:44 ` pinskia at gcc dot gnu dot org
2004-12-02 20:57 ` pinskia at gcc dot gnu dot org
2004-12-03 23:25 ` tromey at gcc dot gnu dot org
2004-12-04  0:44 ` pinskia at gcc dot gnu dot org
2004-12-16 18:14 ` tromey at gcc dot gnu dot org
2005-01-19  7:21 ` mmitchel at gcc dot gnu dot org
2005-03-05 21:02 ` [Bug java/18796] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-08-22  2:25 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).