stevel 2004/03/29 09:02:13
Modified: src/main/org/apache/tools/ant/taskdefs Java.java
Log:
I do not like the current process of marking incompatibility, as it is a dog
to use from programmatic task access. We should validate immediatly before
execution instead. This commit is not a fix, merely a partial workaround.
Revision Changes Path
1.90 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/Java.java
Index: Java.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- Java.java 27 Mar 2004 21:22:58 -0000 1.89
+++ Java.java 29 Mar 2004 17:02:13 -0000 1.90
@@ -578,7 +578,7 @@
*/
public void setTimeout(Long value) {
timeout = value;
- incompatibleWithSpawn = true;
+ incompatibleWithSpawn |= timeout!=null;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]