Community
Participate
Working Groups
Created attachment 112687 [details] patch to address issue Build ID: HEAD Steps To Reproduce: 1. See Framework.installBundle More information:
Rob, correct me if I am wrong. I think the Framework portion of the patch is not needed if attachment 112883 [details] in bug 247522 is released.
Tom you are completely correct. I've clearly screwed up attaching patches to these issues :) I have newer versions of the patches for this bug and for bug 247522 running in our test suite locally. When I have hammered on them I'll reattach them to these issues, until then I think it is worth waiting. The getNextBundleId patch in bug 247520 is well tested here now and seems to have fixed all our problems in that area.
Hi Rob, any more progress here? We are getting late for 3.5 M3. This will likely need to be pushed to 3.5 M4.
Tom, I just got back from a few weeks away. While I've been out we've had a completely successful set of integration test runs against our build so I'm happy that the fixes I have locally work correctly. I'm only in the office for a few hours today, but when I get back on Monday I'll post the latest patches to all the thread safety issues. Rob
Created attachment 116259 [details] Updated cut of the bundle repository patch.
Rob, I released the latest patch with an updated copyright to include your name, SpringSource and the bug number. I did not release the changes you made to StartLevelManager. You had added a redundant synchronized block to sortByDependencies(AbstractBundle[], int, int)
Tom, Thanks for applying this. I'm not sure that the sync block in SLM is redundant - it essentially guarantees atomicity for the sort operation with respect to the bundles state. If this is not required then it can happily be dropped. Rob
(In reply to comment #7) > Tom, > > Thanks for applying this. I'm not sure that the sync block in SLM is redundant > - it essentially guarantees atomicity for the sort operation with respect to > the bundles state. If this is not required then it can happily be dropped. > The reason I think it is redundant is because the private method "sortByDependencies(AbstractBundle[], int, int)" is called by "sortByDependency(AbstractBundle[])" while holding the BundleRespository lock.