details: https://code.openbravo.com/erp/devel/pi/rev/f258c39df153 changeset: 32525:f258c39df153 user: Asier Lostalé <asier.lostale <at> openbravo.com> date: Wed Aug 02 10:30:22 2017 +0200 summary: fixed bug 36573: import sample data can get stuck if executed concurrently
It was caused by a concurrent modification/read of cache HashMap in DynaClassCache. As getDynaClass is the only method that reads and modifies this internal cache, the fix is to make it synchronized. Checked also, while importing sample data this is the only place where shared objects are modified. diffstat: src-db/database/lib/dbsourcemanager.jar | 0 1 files changed, 0 insertions(+), 0 deletions(-) diffs (2 lines): diff -r e4dab51242d8 -r f258c39df153 src-db/database/lib/dbsourcemanager.jar Binary file src-db/database/lib/dbsourcemanager.jar has changed ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits