--- Comment #12 from rob1weld at aol dot com 2006-12-28 15:45 ---
(In reply to comment #11)
Fix checked in.
I'm not an expert with Java but am trying to compile gcc 4_2 branch (CVS)
and I have the same problem as is described in this bug report. The fixes
mentioned in this report
--- Comment #10 from tromey at gcc dot gnu dot org 2006-03-29 16:32 ---
Subject: Bug 26390
Author: tromey
Date: Wed Mar 29 16:31:53 2006
New Revision: 112499
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=112499
Log:
gcc/java
PR java/26390:
* parse.y
--- Comment #11 from tromey at gcc dot gnu dot org 2006-03-29 16:36 ---
Fix checked in.
--
tromey at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #8 from tromey at gcc dot gnu dot org 2006-03-15 18:29 ---
Subject: Bug 26390
Author: tromey
Date: Wed Mar 15 18:29:44 2006
New Revision: 112093
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=112093
Log:
gcc/java
PR java/26390:
* class.c
--- Comment #9 from tromey at gcc dot gnu dot org 2006-03-15 18:31 ---
Oops -- that was the wrong PR number in that patch.
That commit was for PR 26638.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26390
--- Comment #5 from tromey at gcc dot gnu dot org 2006-03-13 17:10 ---
Created an attachment (id=11043)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11043action=view)
reduced test case
I'm attaching a reduced test case.
If you remove one of the intermediate classes, the
output is
--- Comment #6 from tromey at gcc dot gnu dot org 2006-03-13 17:12 ---
I added a main to the reduced test case:
public static void main(String[] args)
{
SwingFramePeer s = new SwingFramePeer();
s.setBounds();
}
With this I can almost reproduce the original bug:
opsy.
--- Comment #7 from tromey at gcc dot gnu dot org 2006-03-13 19:07 ---
The bug here is that gcj implements method inheritance incorrectly.
In particular it does not consider SwingWindowPeer.setBounds
as a candidate method for the super.setBounds() call, because it
has no notion that
--- Comment #3 from mark at gcc dot gnu dot org 2006-03-10 18:13 ---
While importing 0.90 into libgcj I also noticed this. Setting this package to
bc (like the other awt peer implementations) gives:
make[3]: Entering directory `/home/mark/src/gcc-obj/i686-pc-linux-gnu/libjava'
/bin/sh
--
tromey at gcc dot gnu dot org changed:
What|Removed |Added
CC||tromey at gcc dot gnu dot
|
--- Comment #4 from tromey at gcc dot gnu dot org 2006-03-11 01:40 ---
Mark's problem appears to be a bytecode generation bug.
We are generating:
6: invokespecial #65=InterfaceMethod java.awt.peer.WindowPeer.setBounds
(int,int,int,int)void
But this is incorrect as you cannot invoke
--- Comment #2 from mckinlay at redhat dot com 2006-03-09 03:16 ---
Can anyone make a test case for this? I was unable to reproduce it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26390
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-02-22 14:31 ---
I have seen a bug like this before.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26390
13 matches
Mail list logo