harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r441739 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Date Sat, 09 Sep 2006 04:40:41 GMT
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 */



Mime
View raw message