This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


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

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



>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:


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