You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/09/09 06:40:41 UTC
svn commit: r441739 -
/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Author: geirm
Date: Fri Sep 8 21:40:40 2006
New Revision: 441739
URL: http://svn.apache.org/viewvc?view=rev&rev=441739
Log:
more tweaks - Remove the java version from what the launcher
ever prints as it doesn't know, and also let -showversion
go through to VM as that is The Way Sun Does It! (amen)
Modified:
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c?view=diff&rev=441739&r1=441738&r2=441739
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c Fri Sep 8 21:40:40 2006
@@ -310,7 +310,6 @@
{
if (!versionWritten)
{
- dumpVersionInfo (PORTLIB);
hyfile_printf (PORTLIB, HYPORT_TTY_OUT, HY_COPYRIGHT_STRING "\n");
copyrightWritten = 1;
versionWritten = 1;
@@ -907,8 +906,7 @@
{
if (('-' == argv[i][0]) && (strncmp (argv[i], "-jar", 4) != 0) &&
(strncmp (argv[i], "-vmdir:", 7) != 0)
- && (strncmp (argv[i], "-vm:", 4) != 0)
- && (strncmp (argv[i], "-showversion", 12) != 0))
+ && (strncmp (argv[i], "-vm:", 4) != 0))
{
/* special coding for -classpath and -cp */
/* they get passed to the vm as -Djava.class.path */