public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/19841] New: Inner classes problem
@ 2005-02-09 9:44 hendrich at informatik dot uni-hamburg dot de
2005-02-09 14:53 ` [Bug java/19841] " pinskia at gcc dot gnu dot org
2005-02-09 17:31 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 9:44 UTC (permalink / raw)
To: java-prs
gcj fails to compile the following testcases, while jikes, javac, and Eclipse
allow the code. (Might be a duplicate of existing inner classes problem
reports.)
/* GCJ inner class problem */
import java.awt.*;
public class SSS extends Canvas {
int state = 0;
public class Selector extends Dialog {
public Selector( Frame parent ) {
super( parent );
}
public void foo() {
state = 42;
}
}
}
--
Summary: Inner classes problem
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hendrich at informatik dot uni-hamburg dot de
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=19841
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug java/19841] Inner classes problem
2005-02-09 9:44 [Bug java/19841] New: Inner classes problem hendrich at informatik dot uni-hamburg dot de
@ 2005-02-09 14:53 ` pinskia at gcc dot gnu dot org
2005-02-09 17:31 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-09 14:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-09 13:52 -------
Confirmed, here is a self contained example (which shows easier where the problem is):
class T
{
private int state;
}
public class SSS {
int state = 0;
public class Selector extends T {
public void foo() {
state = 42;
}
}
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |rejects-valid
Last reconfirmed|0000-00-00 00:00:00 |2005-02-09 13:52:05
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19841
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug java/19841] Inner classes problem
2005-02-09 9:44 [Bug java/19841] New: Inner classes problem hendrich at informatik dot uni-hamburg dot de
2005-02-09 14:53 ` [Bug java/19841] " pinskia at gcc dot gnu dot org
@ 2005-02-09 17:31 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-09 17:31 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-09 13:58 -------
I looked and I don't see this as being a duplicate of the existing inner class bug reports.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19841
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-09 13:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-09 9:44 [Bug java/19841] New: Inner classes problem hendrich at informatik dot uni-hamburg dot de
2005-02-09 14:53 ` [Bug java/19841] " pinskia at gcc dot gnu dot org
2005-02-09 17:31 ` pinskia 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).