CWE-586
Overview
- CWE ID
- 586
- CWE Name
- Explicit Call to Finalize()
- CWE Abstraction
- Variant
- CWE structure
- Simple
- CWE Status
- Draft
Description
The software makes an explicit call to the finalize() method from outside the finalizer.
Extended Description
While the Java Language Specification allows an object's finalize() method to be called from outside the finalizer, doing so is usually a bad idea. For example, calling finalize() explicitly means that finalize() will be called more than once: the first t
Related CWEs
CWE ID | View ID | Nature | Ordinal |
---|---|---|---|
1076 | 1000 | ChildOf | Primary |