Justin Deoliveira a écrit :
Great, so now that Martin is all in I think that leaves room for Jesse to do the indexed shapefile merge.

If Jesse do some work on the shapefile modules, I would appreciate a favor. Many tests open a file (as InputStream or ReadableByteChannel), but almost none of them close the file after usage. It was not a big deal with Maven 1, since Maven 1 shutdown and restart the whole JVM after each test (which is one reason why the Maven 1 build is so slow). But Maven 2 starts the JVM only once for each module. It make the tests much fasters, but unclosed streams cause intermitend tests failures in an unpredicable way. Test fails when it try to open a file already openned by some previous tests, and the garbage collector has not yet released the resources used by that previous test.

I added some trivial 'close()' statement in the test suite. But we still have some files that are never closed. If it were possible to make sure that every files are closed after usage in every tests, it would be nice.

        Martin.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to