Shapefile locking is not thread safe
------------------------------------
Key: GEOT-2680
URL: http://jira.codehaus.org/browse/GEOT-2680
Project: GeoTools
Issue Type: Bug
Components: data shapefile
Affects Versions: 2.5.7
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.5.8
ShpFiles keeps information about existing locks in plain HashMap. Those break
as a heavily multitheaded test starts insert/delete items in them in parallel.
Use ConcurrentHashMap instead.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel