public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/19677] invalid "may not have been initialized" error [not found] <bug-19677-9898@http.gcc.gnu.org/bugzilla/> @ 2007-01-09 20:50 ` tromey at gcc dot gnu dot org 0 siblings, 0 replies; 4+ messages in thread From: tromey at gcc dot gnu dot org @ 2007-01-09 20:50 UTC (permalink / raw) To: java-prs ------- Comment #5 from tromey at gcc dot gnu dot org 2007-01-09 20:46 ------- All gcj front end bugs have been fixed by the gcj-eclipse branch merge. I'm mass-closing the affected PRs. If you believe one of these was closed in error, please reopen it with a note explaining why. Thanks. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19677 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libgcj/19677] New: invalid "may not have been initialized" error @ 2005-01-28 19:21 wasabi at larvalstage dot net 2005-01-28 19:35 ` [Bug java/19677] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: wasabi at larvalstage dot net @ 2005-01-28 19:21 UTC (permalink / raw) To: java-prs 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/19677] invalid "may not have been initialized" error 2005-01-28 19:21 [Bug libgcj/19677] New: " wasabi at larvalstage dot net @ 2005-01-28 19:35 ` pinskia at gcc dot gnu dot org 2005-01-28 19:43 ` pinskia at gcc dot gnu dot org 2005-01-30 19:03 ` tromey at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-28 19:35 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-28 19:35 ------- Confirmed, reduced to: class a1 { public int f(){return 1;} } class t { Object f; void g(a1 a) {} void f() { final a1 a; a = new a1 () { public int f(){return 0;}}; g(a); } } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|libgcj |java Ever Confirmed| |1 Keywords| |diagnostic, rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2005-01-28 19:35:32 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19677 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/19677] invalid "may not have been initialized" error 2005-01-28 19:21 [Bug libgcj/19677] New: " wasabi at larvalstage dot net 2005-01-28 19:35 ` [Bug java/19677] " pinskia at gcc dot gnu dot org @ 2005-01-28 19:43 ` pinskia at gcc dot gnu dot org 2005-01-30 19:03 ` tromey at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-01-28 19:43 UTC (permalink / raw) To: java-prs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-28 19:43 ------- Related to bug 16839. The problem might be the same problem after all because final are collected for anonymous inner classes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19677 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/19677] invalid "may not have been initialized" error 2005-01-28 19:21 [Bug libgcj/19677] New: " wasabi at larvalstage dot net 2005-01-28 19:35 ` [Bug java/19677] " pinskia at gcc dot gnu dot org 2005-01-28 19:43 ` pinskia at gcc dot gnu dot org @ 2005-01-30 19:03 ` tromey at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at gcc dot gnu dot org @ 2005-01-30 19:03 UTC (permalink / raw) To: java-prs ------- Additional Comments From tromey at gcc dot gnu dot org 2005-01-30 19:02 ------- Yes, the underlying problem is the same as with bug 16839. gcj captures all 'final' local variables in an anonymous class. This is incorrect -- it should only capture those which are actually used. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19677 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-09 20:50 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-19677-9898@http.gcc.gnu.org/bugzilla/> 2007-01-09 20:50 ` [Bug java/19677] invalid "may not have been initialized" error tromey at gcc dot gnu dot org 2005-01-28 19:21 [Bug libgcj/19677] New: " wasabi at larvalstage dot net 2005-01-28 19:35 ` [Bug java/19677] " pinskia at gcc dot gnu dot org 2005-01-28 19:43 ` pinskia at gcc dot gnu dot org 2005-01-30 19:03 ` tromey 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).