[Bug java/19677] invalid "may not have been initialized" error
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 28 19:35:00 GMT 2005
------- 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
More information about the Java-prs
mailing list