Versions Compared

Key

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

...

Failure to prevent the overwriting of an externalizable object can corrupt the state of the object.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

SER11-J

Low

Probable

Low

P6

L2

Automated Detection

ToolVersionCheckerDescription
Parasoft Jtest
Include Page
java:
Parasoft_V
java:
Parasoft_V
SERIAL.IRX
Implemented
Avoid re-initializing fields in the 'readExternal()' method of 'Externalizable' classes

Bibliography

[API 2014]

 


[Sun 2006]

Serialization Specification, A.7, Preventing Overwriting of Externalizable Objects

...


...