ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From N C <>
Subject [PATCH] JUnitTestRunner.filterStack(String) does not flush BufferedWriter
Date Sat, 30 Jan 2010 21:39:15 GMT
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.


View raw message