Bug 3454 - Build system too liberal in finding main functions in java classes.
Summary: Build system too liberal in finding main functions in java classes.
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Nurdin Premji
URL:
Keywords:
: 3448 (view as bug list)
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2006-11-03 15:49 UTC by Nurdin Premji
Modified: 2006-11-21 21:35 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nurdin Premji 2006-11-03 15:49:39 UTC
The build system classifies classes that do not have main functions as
executable classes if they have the word main anywhere in the file. For example
inside a quote or comments.
Comment 1 Nurdin Premji 2006-11-03 15:50:34 UTC
Fixed

2 Nov 2006 
   common/CL
        
        * Makefile.gen.sh (has_main): Use jv-scan to find java files with
        main functions rather than grep.
Comment 2 Nurdin Premji 2006-11-03 16:20:45 UTC
No really fixed
Comment 3 Andrew Cagney 2006-11-21 21:35:39 UTC
*** Bug 3448 has been marked as a duplicate of this bug. ***