Query module CallsToRunFinalizersOnExit

name
Dangerous runFinalizersOnExit
description
Calling ‘System.runFinalizersOnExit’ or ‘Runtime.runFinalizersOnExit’ may cause finalizers to be run on live objects, leading to erratic behavior or deadlock.
kind
problem
problem.severity
error
precision
medium
id
java/run-finalizers-on-exit
tags
reliability maintainability

Imports

java

Provides all default Java QL imports.