java/2956: gcj does not terminate on invalid class definition

mark@klomp.org mark@klomp.org
Sat May 26 08:56:00 GMT 2001


>Number:         2956
>Category:       java
>Synopsis:       gcj does not terminate on invalid class definition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 26 08:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     mark@klomp.org
>Release:        gcc version 3.0 20010526 (prerelease)
>Organization:
>Environment:

>Description:
gcj does not terminate when compiling the following class:

class BugObject extends Object;

It does generate an error message but after that just hangs.

$ gcj -C BugObject.java 
BugObject.java:1: '{' expected.
   class BugObject extends Object;
                                 ^

This does actually occur in the Jacks testsuite which means that we cannot run that testsuite since the test harness never kills the compiler.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list