![]() |
![]() |
|
Re-upload as project-relative patch
Updated patch to include:
4. Add synchronized keyword to ObjectManagerFactoryImpl.getFetchGroupManager Thx for the patch. Applied to SVN trunk apart from the part that set "jdoFetchGroups" on initialisation; need to keep a PMF as small as possible and most use-cases won't have any fetch groups defined dynamically. Also completed one TODO in the patch in PMF.close().
If you were wanting to contribute to DataNucleus on a more regular basis we could arrange commit rights, but please only consider this if you will be committing reasonably regularly. If so, post on the volunteer forum with the agreement text. |
|||||||||||||||||||||||||||||||||||||||||||||
1. Changes to JDOPersistenceManagerFactory to fix race conditions around access to 'jdoFetchGroups' field.
2. Fix for FetchGroupManagerTest.testMultithreadedAccess, which intermittently fails for reasons internal to the test case itself.
3. JDOPersistenceManagerFactory.getFetchGroups changed to conform to API by returning a mutable copy of the fetch groups.