commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DAEMON-133) The field SimpleDaemon.stopping is accessed from multiple threads without synch.
Date Thu, 25 Feb 2010 21:18:28 GMT

     [ https://issues.apache.org/jira/browse/DAEMON-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated DAEMON-133:
------------------------

    Affects Version/s: 1.0.1
        Fix Version/s:     (was: 1.0.1)
                       1.0.2

> The field SimpleDaemon.stopping is accessed from multiple threads without synch.
> --------------------------------------------------------------------------------
>
>                 Key: DAEMON-133
>                 URL: https://issues.apache.org/jira/browse/DAEMON-133
>             Project: Commons Daemon
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>            Reporter: Sebb
>             Fix For: 1.0.2
>
>
> The field SimpleDaemon.stopping is accessed from multiple threads without synchronisation.
> The field is access from the run() and stop() methods, and should either be made volatile,
or should should be accessed from a synchronized block.
> WIthout such synch, the run() method may never see the value set by the stop() method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message