You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2007/11/01 14:29:24 UTC

svn commit: r590998 - /ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java

Author: stevel
Date: Thu Nov  1 06:29:23 2007
New Revision: 590998

URL: http://svn.apache.org/viewvc?rev=590998&view=rev
Log:
no, I'm  rolling this back. Let's wait and see what the tests I'm running at work on something similar say.

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java?rev=590998&r1=590997&r2=590998&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java Thu Nov  1 06:29:23 2007
@@ -114,7 +114,7 @@
      */
     public void waitUntilFinished(long timeout) throws InterruptedException {
         synchronized(notify) {
-            while (!finished) {
+            if(!finished) {
                 notify.wait(timeout);
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org