Tag Archives: CWE- 568

CWE-568 – finalize() Method Without super.finalize()

Read Time:23 Second

Description

The software contains a finalize() method that does not call super.finalize().

The Java Language Specification states that it is a good practice for a finalize() method to call super.finalize().

Modes of Introduction:

– Implementation

 

 

Related Weaknesses

CWE-573
CWE-459

 

Consequences

Other: Quality Degradation

 

Potential Mitigations

Phase: Implementation

Description: 

Call the super.finalize() method.

Phase: Testing

Description: 

Use static analysis tools to spot such issues in your code.

CVE References