This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 24 Sep 2004 19:44:41 -0000
- Subject: [Bug java/17500] [4.0 Regression] Anonymous inner class compile freakout
- References: <20040915141254.17500.membar@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tromey at gcc dot gnu dot org 2004-09-24 19:44 -------
Reduced test case:
public class pr17500
{
public Object m1 (final Object one)
{
return new Comparable()
{
public int compareTo(Object other)
{
return one == other ? 0 : 1;
}
};
}
public Object m2 (final Object two)
{
return new Comparable()
{
public int compareTo(Object other)
{
return two == other ? 0 : 1;
}
};
}
}
The bug has to do with mutating data returned from
a cache -- oops. I have a patch I'm testing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-24 19:44:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17500