[Bug java/32774] New: GCJ dumps core when semicolon placed to wrong place (x86, arm_le)

cyberflex at mail dot ru gcc-bugzilla@gcc.gnu.org
Mon Jul 16 09:12:00 GMT 2007


This code makes GCJ-4.1 core dump because of presence
unneeded (or incorrect) ";" symbol after the method definition
close brace:

interface MyInterface {
public Object dumpGCJCoreAtCompilation();
}

class MyClass implements MyInterface{

public Object dumpGCJCoreAtCompilation(){return null;};


}


This code compiled fine:

class MyClass {

public Object dumpGCJCoreAtCompilation(){return null;}


}


-- 
           Summary: GCJ dumps core when semicolon placed to wrong place
                    (x86, arm_le)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cyberflex at mail dot ru


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



More information about the Java-prs mailing list