Versions Compared

Key

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

Wiki Markup
            According to [§12.4, "Initialization of Classes and Interfaces" |http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4] of the _Java Language Specification_ \[[JLS 2005|AA. Bibliography#JLS 05]\]:

Initialization of a class consists of executing its static initializers and the initializers for static fields (class variables) declared in the class.

...

The CERT C++ Secure Coding Standard

DCL14-CPP. Avoid assumptions about the initialization order between translation units

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="08c9812baba96373-0e9b258c-410b4200-b88fbf39-1b91d10e38eb86c0b59ee952"><ac:plain-text-body><![CDATA[

[ISO/IEC TR 24772:2010

http://www.aitcnet.org/isai/]

"Initialization of Variables [LAV]"

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

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="66dedcbe1f9f3b85-0f03bf97-480c4aef-b64897a1-30c8ba7a4e94c0d6e0ffe9da"><ac:plain-text-body><![CDATA[

[[JLS 2005

AA. Bibliography#JLS 05]]

[§8.3.2.1, "Initializers for Class Variables"

http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.3.2.1]

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

 

§12.4, "Initialization of Classes and Interfaces"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1ae1b3c8e431b4d2-a6bb5789-4d1e45ca-8247bf8f-f7bfd0d3b83cc76e7804f10f"><ac:plain-text-body><![CDATA[

[[Bloch 2005

AA. Bibliography#Bloch 05]]

Puzzle 49: Larger Than Life

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b636578fde7cd430-665a88ef-4e98464b-b1bf8398-ef9aa89b50ab229c67dadaa0"><ac:plain-text-body><![CDATA[

[[MITRE 2009

AA. Bibliography#MITRE 09]]

[CWE-665

http://cwe.mitre.org/data/definitions/665.html] "Improper Initialization"

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

...