ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r590998 - /ant/core/trunk/src/main/org/apache/tools/ant/util/WorkerAnt.java
Date Thu, 01 Nov 2007 13:29:24 GMT
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


Mime
View raw message