Sebb created JCI-74:
-----------------------
Summary: 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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira