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
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
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 ` ovidr at users dot sourceforge dot net
2004-12-02 20:44 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-12-02 20:40 UTC (permalink / raw)
To: java-prs
------- Additional Comments From ovidr at users dot sourceforge dot net 2004-12-02 20:40 -------
Created an attachment (id=7664)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7664&action=view)
testcase
The java files.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 20:44 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
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
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 20:57 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 20:57 -------
Confirmed, werid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-02 20:57:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
` (2 preceding siblings ...)
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
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-12-03 23:25 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-12-03 23:25 -------
I've looked into this a little.
Apparently we are getting to this line in
resolve_inner_class:
local_super = do_resolve_class (NULL, local_super, NULL, NULL);
with local_super:
(gdb) pt local_super
<pointer_type 0xf6d2315c Dialog unsigned SI
size <integer_cst 0xf6ce9330 type <integer_type 0xf6cf01d0 bit_size_type>
constant invariant 32>
unit size <integer_cst 0xf6ce9150 type <integer_type 0xf6cf015c> constant
invariant 4>
align 32 symtab 0 alias set -1>
... but with the wrong `ctxp':
(gdb) p ctxp.filename
$91 = 0x8e3ab1a "./sancho/view/transfer/ClientDetailDialog.java"
Then we proceed to find "Dialog" using ClientDetailDialog's imports,
resulting in the incorrect org.eclipse.swt.widgets.Dialog
You might think we could call do_resolve_class here with "local_enclosing"
as an argument, but unfortunately it does not yet seem to have its
TYPE_IMPORT_DEMAND_LIST set yet.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
` (3 preceding siblings ...)
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
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-04 0:44 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
` (4 preceding siblings ...)
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
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: tromey at gcc dot gnu dot org @ 2004-12-16 18:14 UTC (permalink / raw)
To: java-prs
------- Additional Comments From tromey at gcc dot gnu dot org 2004-12-16 18:14 -------
Andrew agreed to look at this.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0 Regression] gcj imports wrong superclass
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
` (5 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-19 7:21 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-01-19 07:21 -------
Java bugs are not showstoppers; removing target milestone.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0/4.1 Regression] gcj imports wrong superclass
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
` (6 preceding siblings ...)
2005-01-19 7:21 ` mmitchel at gcc dot gnu dot org
@ 2005-03-05 21:02 ` pinskia at gcc dot gnu dot org
2005-08-22 2:25 ` mmitchel at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-05 21:02 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18796
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug java/18796] [4.0/4.1 Regression] gcj imports wrong superclass
2004-12-02 20:39 [Bug java/18796] New: [4.0 Regression] gcj imports wrong superclass ovidr at users dot sourceforge dot net
` (7 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-22 2:25 UTC (permalink / raw)
To: java-prs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 02:25 -------
Java bugs are not release-critical.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |---
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).