Versions Compared

Key

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

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

OBJ10-J

medium

probable

medium

P8

L2

Automated Detection

ToolVersionCheckerDescription
Eclipse1.0The serializable class .* does not declare a static final serialVersionUID field of type longImplemented
Coverity1.0FB.MS_MUTABLE_ARRAY FB.MS_SHOULD_BE_FINALImplemented
Findbugs1.0MS_MUTABLE_ARRAY MS_SHOULD_BE_FINALImplemented

Related Guidelines

MITRE CWE

CWE-493. Critical public variable without final modifier

 

CWE-500. Public static field not marked final

Secure Coding Guidelines for the Java Programming Language, Version 3.0

Guideline 3-1. Treat public static fields as constants

...