[Bug java/14853] gcj doesnt reject invalid code with -c

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 5 15:13:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-05 15:12 -------
Confirmed.
Here is an example not dependent on System.out and shows the problem more clearly:
class tt
{
  static final tt tt1 = new tt();
  tt()
  {
  }
}
public class FinalTest
{
public static void main (String[] args)
{
        tt.tt1 = new tt();
}
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-05 15:12:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14853



More information about the Java-prs mailing list