harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r532613 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Date Thu, 26 Apr 2007 05:17:22 GMT
Author: smishura
Date: Wed Apr 25 22:17:22 2007
New Revision: 532613

URL: http://svn.apache.org/viewvc?view=rev&rev=532613
Log:
Quick fix for commit r532301:
Patch for HARMONY-3615 "[classlib][launcher] should print help message when run without class
specified"

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c?view=diff&rev=532613&r1=532612&r2=532613
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c Wed
Apr 25 22:17:22 2007
@@ -275,7 +275,7 @@
 	classArg = arrangeToolsArgs(args->portLibrary, &argc, &argv, mainClass);
   }
 
-  if (mainClass == NULL && !isStandaloneJar) {
+  if (mainClass == NULL && !isStandaloneJar && !versionFlag) {
     printUsageMessage(PORTLIB);
     goto bail;
   }



Mime
View raw message