[Bug java/24186] New: interface and extends does not cause us to reject invalid code

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 3 23:53:00 GMT 2005


interface a
{
  void f();
}

class b
{
  void f(){}
}
class d extends b implements a
{
 void f(){}
  static public void main(String args[])
  {
    d eee = new d();
    eee.f();
  }
}


-- 
           Summary: interface and extends does not cause us to reject
                    invalid code
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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



More information about the Java-prs mailing list