CWE DATABASE
About
GET A DEMO
Backslash Vulnerability Database
finalize() Method Without super.finalize()
finalize() Method Without super.finalize()
CWE-568
Short description
The product contains a finalize() method that does not call super.finalize().
Extended description
The Java Language Specification states that it is a good practice for a finalize() method to call super.finalize().
Best practices to prevent this CWE
Phase: Implementation
Call the super.finalize() method.
Phase: Testing
Use static analysis tools to spot such issues in your code.