CommandSupport does not adequately synchronize access to "state"
----------------------------------------------------------------

         Key: GERONIMO-820
         URL: http://issues.apache.org/jira/browse/GERONIMO-820
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0-M4, 1.0-M5    
    Reporter: David Jencks
 Assigned to: David Jencks 
     Fix For: 1.0-M4, 1.0-M5


Changing state is synchronized, reading it should be also.

-    public DeploymentStatus getDeploymentStatus() {
+    public synchronized DeploymentStatus getDeploymentStatus() {
         return new Status(command, action, state, message);
     }
 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to