dev  

[PATCH] JUnitTestRunner.filterStack(String) does not flush BufferedWriter

N C
Sat, 30 Jan 2010 13:40:03 -0800

In Revision 793462, a BufferedWriter was added to 
JUnitTestRunner.filterStack(String).  However, the BufferedWriter was not 
flushed before returning the underlying StringWriter's contents.  This may 
exclude all or part of the filtered stack trace from the returned String.

Attached is a patch closing the BufferedWriter.  The single-line patch is 
untested, but is simple enough that it should work.


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