Affects Version/s: None
Fix Version/s: 2.0
FileFilterUtils lazily creates the static fields cvsFilter and svnFilter; however access to the fields is not synchronized and the fields are not volatile.
One thread can create the filter, but the updated value won't necessarily be seen by any/all other threads.
This means that the fields can be created multiple times.
Possible solutions: make the fields volatile, or use the singleton IODH idiom. The latter uses a bit more code, but is probably marginally cheaper if the field is used a lot.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Niall Pemberton [ niallp ]|
|Fix Version/s||2.0 [ 12312961 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12500900 ]||Default workflow, editable Closed status [ 12601908 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|153d 5m||1||Niall Pemberton||05/Aug/10 01:20|
|462d 17h 48m||1||Henri Yandell||10/Nov/11 18:09|