This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]