Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Parasoft Jtest 2020.2

...

Failure to ensure that the keys used in a comparison operation are immutable can lead to nondeterministic behavior.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

MET11-J

Low

Probable

High

P2

L3

Automated Detection

Some available static analysis tools can detect instances where the compareTo() method is reading from a nonconstant field.

ToolVersionCheckerDescription
Parasoft Jtest

Include Page
Parasoft_V
Parasoft_V

PB.IKICOEnsure that keys used in comparison operations are immutable

Bibliography

...


...