https://issues.apache.org/bugzilla/show_bug.cgi?id=48746

--- Comment #8 from Jesse Glick <[email protected]> 2010-05-26 18:13:09 EDT 
---
Oddly enough, the bug in the test case is reproducible in XP in 1.8.1 (not in
1.8.0). This fixes it for both Linux and XP:

Index: src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java
===================================================================
--- src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java    (revision
948598)
+++ src/main/org/apache/tools/ant/taskdefs/PumpStreamHandler.java    (working
copy)
@@ -244,7 +244,7 @@
         final Thread result
             = new ThreadWithPumper(new StreamPumper(is, os,
                                                     closeWhenExhausted,
-                                                    true));
+                                                    false));
         result.setDaemon(true);
         return result;
     }

But I have not yet checked the effect on the test cases from bug #5003.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to