CWE-568: finalize() Method Without super.finalize()
The product contains a finalize() method that does not call super.finalize().
Last updated
Overview
The Java Language Specification states that it is a good practice for a finalize() method to call super.finalize().
Common consequences
What can happen when CWE-568 is exploited.
Quality Degradation
Affects: Other
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Applies to
Languages
How to prevent it
Practical mitigations for CWE-568, grouped by where in the lifecycle they apply.
Call the super.finalize() method.