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

Emmanuel Bourg closed JCI-74.
-----------------------------


> FilesystemAlterationMonitor.delay is not safely published
> ---------------------------------------------------------
>
>                 Key: JCI-74
>                 URL: https://issues.apache.org/jira/browse/JCI-74
>             Project: Commons JCI
>          Issue Type: Bug
>          Components: fam
>    Affects Versions: 1.0
>            Reporter: Sebb
>             Fix For: 1.1
>
>
> The field FilesystemAlterationMonitor.delay is read by the daemon thread but 
> the writer and reader do not use synchronisation.
> If the delay is changed after the thread is started, any changes may not be 
> seen by the thread (unsafe publication).
> The delay field needs to be made volatile.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to