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] Closed: (GERONIMO-820) CommandSupport does not adequately synchronize access to "state"
Date Fri, 29 Jul 2005 00:17:21 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-820?page=all ]
     
David Jencks closed GERONIMO-820:
---------------------------------

    Resolution: Fixed

Fixed, in CommandSupport
M5 rev 225439
M4 rev 225438

> 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
>     Assignee: 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