Closed guillermocalvo closed 5 months ago
Currently, volatile modifier is not taken into account.
volatile
It's not included when retrieving field modifiers. In addition, changes to this modifier are not reported.
As per the specs, binary compatibility is not affected by changes to a field's volatile modifier.
However, they can have a big semantic impact in terms of synchronization and the memory model. Therefore, they should at least be reported.
Currently,
volatile
modifier is not taken into account.It's not included when retrieving field modifiers. In addition, changes to this modifier are not reported.
As per the specs, binary compatibility is not affected by changes to a field's
volatile
modifier.However, they can have a big semantic impact in terms of synchronization and the memory model. Therefore, they should at least be reported.