Following Eclipse code snippet that fails:
protected void join(InternalJob job) {
final IJobChangeListener listener;
synchronized (lock) {
listener = new JobChangeAdapter() {
public void done(IJobChangeEvent event) {
barrier.release();
}
};
job.addJobChangeListener(listener);
}
}
The error reports the line containing listener = as the problem.
--
Summary: invalid "may not have been initialized" error
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wasabi at larvalstage 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=19677