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.
Fixed 2 Nov 2006 common/CL * Makefile.gen.sh (has_main): Use jv-scan to find java files with main functions rather than grep.
No really fixed
*** Bug 3448 has been marked as a duplicate of this bug. ***