Follow up : embedded main args
Peter Blemel
pblemel@hotmail.com
Sat Jul 17 08:44:00 GMT 2004
I think I see what the problem is. _Jv_RunMain is missing an ifdef
DISABLE_MAIN_ARGS to prevent the garbage args from being used. The
'garbage' args are blithely are passed to _Jv_SetArgs, while code a few
lines down is conditionally compiled using DISABLE_MAIN_ARGS ... The
problem is that _Jv_GarNbArgs assumes that _Jv_argc was initialized to 0 by
the compiler, when in fact _Jv_SetArgs has scribbled over it.
How do I submit this as a bug?
Thanks and Regards,
_________________________________________________________________
Check out the latest news, polls and tools in the MSN 2004 Election Guide!
http://special.msn.com/msn/election2004.armx
More information about the Java-patches
mailing list