ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r393316 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/Redirector.java
Date Tue, 11 Apr 2006 21:35:06 GMT
Author: mbenson
Date: Tue Apr 11 14:35:04 2006
New Revision: 393316

URL: http://svn.apache.org/viewcvs?rev=393316&view=rev
Log:
changed Thread.sleep(1000) in a synchro method to wait(1000). PR# 37767.

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewcvs/ant/core/trunk/WHATSNEW?rev=393316&r1=393315&r2=393316&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Tue Apr 11 14:35:04 2006
@@ -195,6 +195,8 @@
 
 * <available> could leak resources, Bugzilla Report 38260.
 
+* redirector called Thread.sleep in a synchronized method. Bugzilla report 37767.
+
 Other changes:
 --------------
 * Improve compatibility with GNU Classpath and java versions prior to 1.5. Bugzilla 39027.

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java?rev=393316&r1=393315&r2=393316&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java Tue Apr 11 14:35:04
2006
@@ -770,7 +770,7 @@
                         // Ignore exception
                     }
                 }
-                Thread.sleep(1000);
+                wait(1000);
             } catch (InterruptedException eyeEx) {
                 // Ignore exception
             }



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


Mime
View raw message