DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24280>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24280

Empty value attribute for <arg> behaves differently on Windows and Unix

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-11-25 09:26 -------
I have figured out how to modify W32Process to
handle empty arguments correctly:
--- java-src/j2se/src/windows/classes/java/lang/Win32Process.java       Thu Sep 
11
02:55:51 2003
+++ newexec/src/java/lang/Win32Process.java     Mon Nov 24 21:35:36 2003
@@ -44,6 +44,9 @@
                    /* Unmatched quote for the argument. */
                    throw new IllegalArgumentException();
                }
+            } else if ("".equals(s)) {
+                // empty argument
+                cmdbuf.append("\"\"");
            } else {
                cmdbuf.append(s);
            }
And have filed a bug report with sun.
As this is a jdk problem and not an ant problem, i am marking
this as WONTFIX as in CANTFIX.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to