Silly Question: Equivalent of C argv[0] in GCJ?

Tom Tromey tromey@redhat.com
Sun Oct 20 16:37:00 GMT 2002


>>>>> "Ranjit" == Ranjit Mathew <rmathew@hotmail.com> writes:

Ranjit> ChangeLog:
Ranjit> [ ... ]

Thanks.  This looks ok.  I'll check it in soon.

Ranjit> 	* libjava/java/lang/natRuntime.cc (insertSystemProperties):
Ranjit> 	Added GCJ runtime property "gnu.gcj.progname" containing
Ranjit> 	the name used to invoke the current Java program (similar
Ranjit> 	to argv[0] for C programs).
Ranjit> 	* gcc/java/gcj.texi: Added item describing the GCJ runtime
Ranjit> 	property "gnu.gcj.progname".

Note that we have separate ChangeLogs for these two components.

Tom



More information about the Java mailing list