Hello N C,

thanks for reporting this, I have committed a call to FileUtils.close in
a finally block which does the same and might also do it if an exception
happened during this reporting process.

If you are setup to build/compile ant yourself, you can update your
working copy from svn and report whether the change fixes the problem
for you.

Regards,

Antoine

N C wrote:
> --- On Sat, 1/30/10, N C <nc1...@yahoo.com> wrote:
>
>   
>> Attached is a patch closing the BufferedWriter.
>>     
>
> I'm not sure the attachment went through...
>
> --- JUnitTestRunner.java.orig   2010-01-30 16:22:58.000000000 -0500
> +++ JUnitTestRunner.java        2010-01-30 16:23:12.000000000 -0500
> @@ -896,6 +896,7 @@
>                      pw.newLine();
>                  }
>              }
> +            pw.close();
>          } catch (Exception e) {
>              return stack; // return the stack unfiltered
>          }
>
>
>       
>
>
>   


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

Reply via email to