geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-820) CommandSupport does not adequately synchronize access to "state"
Date Wed, 27 Jul 2005 01:05:22 GMT
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


Mime
View raw message