Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A related error can arise when a programmer declares a static final reference to a mutable object; see guideline VOID OBJ02-J. Never conflate immutability of a reference with that of the referenced object for additional information.

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="35ee1458a1bc9d15-80368db0-4e7548ec-95a9bf27-ce02b253ef24933bee4a538c"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. References#JLS 05]]

[§13.4.9, "final Fields and Constants"

http://java.sun.com/docs/books/jls/third_edition/html/binaryComp.html#13.4.9]

]]></ac:plain-text-body></ac:structured-macro>

 

§9.3, "Field (Constant) Declarations"

 

§4.12.4, "final Variables"

 

§8.3.1.1, "static Fields"

...