Versions Compared

Key

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

...

MITRE CWE

CWE-582 "Array Declared Public, Final, and Static,"

 

CWE-493 "Critical Public Variable Without Final Modifier"

 

CWE-500 "Public Static Field Not Marked Final"

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="201450034b7b887c-4b82b6f7-4a254484-90568d03-8525b95f053a110248f1361b"><ac:plain-text-body><![CDATA[

[[SCG 2007

AA. Bibliography#SCG 07]]

Guideline 3.1, Treat public static fields as constants

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

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c0d5ddef5ea1a5f6-2365d369-497a4374-a25fb6ba-e5dc80d1425323b2c2e99f86"><ac:plain-text-body><![CDATA[

[[FT 2008

AA. Bibliography#FT 08]]

Function Table Class Function Table

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d21bdc913ed28a05-293a73ae-4a64469c-88c4ad62-7c0f0ec19309e500e2dab82f"><ac:plain-text-body><![CDATA[

[[Gong 2003

AA. Bibliography#Gong 03]]

9.3 Static Fields

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d49bf7b4e62ca0e7-0df53a0d-4c1a41f0-8f2f8f01-001a32583ef8991007537e75"><ac:plain-text-body><![CDATA[

[[Nisewanger 2007

AA. Bibliography#Nisewanger 07]]

Antipattern 5, Misusing Public Static Variables

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="eb35055f693e14f8-9d629c8b-4fab4e72-ad779a61-c894f792e438ea912578e3b7"><ac:plain-text-body><![CDATA[

[[Sterbenz 2006

AA. Bibliography#Sterbenz 06]]

Antipattern 5, Misusing Public Static Variables

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

...

OBJ03-J. Sensitive classes must not let themselves be copiedImage Added      04. Object Orientation (OBJ)      OBJ05-J. Prevent access to partially initialized objects