harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r440571 - /incubator/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_Exec.java
Date Wed, 06 Sep 2006 02:13:01 GMT
Author: smishura
Date: Tue Sep  5 19:13:00 2006
New Revision: 440571

URL: http://svn.apache.org/viewvc?view=rev&rev=440571
Log:
Add warning: Process.exec(String[] cmdarray) - empty string in args array

Modified:
    incubator/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_Exec.java

Modified: incubator/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_Exec.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_Exec.java?view=diff&rev=440571&r1=440570&r2=440571
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_Exec.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/support/src/test/java/tests/support/Support_Exec.java
Tue Sep  5 19:13:00 2006
@@ -87,6 +87,9 @@
 			execArgs = new String[baseArgs + args.length];
 			execArgs[0] = System.getProperty("com.ibm.oti.vm.exe");
 			// stop passing -jcl:null into the VM
+            // WARNING: empty string in args array may confuse
+            // Process.exec(String[] cmdarray) on Linux so
+            // Process.exec(String command) is used instead
 			execArgs[1] = "";
 			if (onUnix) {
 				execArgs[2] = "-Xbootclasspath:"



Mime
View raw message