logo
Home/CWEs/CWE-568/

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

  • Abstraction:Variant
  • Structure:Simple
  • Status:Draft
  • Release Date:2006-12-15
  • Latest Modification Date:2023-06-29

Weakness Name

finalize() Method Without super.finalize()

Description

The product 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().

Common Consequences

Scope: Other

Impact: Quality Degradation

Related Weaknesses

CWE-459Incomplete Cleanup

CWE-573Improper Following of Specification by Caller