java/6319: gcj segfault on empty .java file

andreas.lenz@handy-games.com andreas.lenz@handy-games.com
Tue Apr 16 03:56:00 GMT 2002


>Number:         6319
>Category:       java
>Synopsis:       compiling an empty .java file failes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 16 03:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.0.4
>Organization:
>Environment:
System: Linux Twisty 2.4.0 #5 Mit Mai 30 16:05:26 CEST 2001 i686 unknown
Architecture: i686

host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure 
>Description:
I use the c preprocessor on .java code and some .java files only have some empty lines if DEBUG is 0
Compiling these files causes gcj to segfaulti.

It's no big thing, I even don't know, if empty .java files are allowed, but gcj suggests to
fill out a bug report...
Greets
  Andi
>How-To-Repeat:
>Fix:
I have
#else
public class debug_report {}
#endif
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list