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