Browse Source

changed Thread.sleep(1000) in a synchro method to wait(1000). PR# 37767.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@393316 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 19 years ago
parent
commit
c5ef1e65dc
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Redirector.java

+ 2
- 0
WHATSNEW View File

@@ -195,6 +195,8 @@ Fixed bugs:

* <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.


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Redirector.java View File

@@ -770,7 +770,7 @@ public class Redirector {
// Ignore exception
}
}
Thread.sleep(1000);
wait(1000);
} catch (InterruptedException eyeEx) {
// Ignore exception
}


Loading…
Cancel
Save