If a field that is not declared private
was not declared volatile
and is changed
to be declared volatile
, or vice versa, then a linkage time error, specifically an
IncompatibleClassChangeError
, may result if the field is used by a preexisting
binary that expected a field of the opposite volatility. Such changes are not recommended in code that has been widely distributed.