Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

EXP02-J

low

likely

low

P9

L2

Automated Detection

Static detection of calls to Arrays.equals(), as well as calls to Object.equals() and invocations of the == operator is straightforward.

...

MITRE CWE

CWE-595. Comparison of object references instead of object contents

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="28518578-6ef4-4097-9be2-c276df347248"><ac:plain-text-body><![CDATA[[[API 2006AA. References#API 06]]

[Class Arrays

http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html]

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

...

EXP01-J. Never dereference null pointers      02. Expressions (EXP)