Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
File System ClassLoader 1.0.12
-
None
Description
It looks like the activate/deactivate method of the FSClassLoaderProvider is racing to unregister the mbean service reference. That is problematic as if it is unregistered twice, it will throw an exception - potentially killing the activate.
Not sure what the right thing todo is here - but it seems very strange that the service ref would be static and clearly, there is a check-then-act cases in the below:
cziegeler, any ideas why the code would be like it is right now?