[OPENAM-12645] Non-threadsafe fields are missing volatile keyword Created: 18/Mar/18 Updated: 26/Apr/18 Resolved: 23/Mar/18
|Fix Version/s:||6.0.0, 14.1.2, 5.5.2|
|Reporter:||Peter Major [X] (Inactive)||Assignee:||Peter Major [X] (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Needs QA verification:||
|Are the reproduction steps defined?:||
Yes and I used the same an in the description
As part of functional test fixes I've found several fields in SMSEmbeddedLdapObject, SMSLdapObject and IdRepoPluginsCache missing the volatile keyword, potentially allowing caching issues.
Don't really have reproduction steps for this one.
When a field can be modified/read by multiple threads the volatile keyword is set on them.
volatile keyword is missing on several fields.