java/2369: --main should check the following symbol

Hans_Boehm@hp.com Hans_Boehm@hp.com
Fri Mar 23 15:36:00 GMT 2001


>Number:         2369
>Category:       java
>Synopsis:       --main should check the following symbol
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 23 15:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hans Boehm
>Release:        All gcj releases to gcc 3.0
>Organization:
>Environment:
All?
(Tested on Linux/X86)
>Description:
--main doesn't check the following symbol.  This can lead to incomprehensible linker error message for a silly typo like

gcj --main==X X.java
>How-To-Repeat:
gcj --main==X X.java

where X.java is any Java program containing a main method.
>Fix:

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



More information about the Gcc-prs mailing list