ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: concat teardown failing
Date Tue, 23 Sep 2003 13:23:46 GMT
On Tue, 23 Sep 2003, Jan Materne <> wrote:

> I have modified the FileUtils.readFully(Reader rdr, int bufferSize)
> so that it closes the reader and all works.

I think that would be the wrong place.  It may be my old C thinking
coming from explicit memory managment, but I think that the code that
aquires a resource should be responsible of releasing it as well.

> Ups - some other tests failed because of the closed reader. So I
> close the reader in the ConcatFilterTest.

You see 8-)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message