JD.UMC.RUNFIN
JD.UMC.RUNFIN reports a call to method runFinalizersOnExit() that may cause erratic behavior or deadlocks.
Vulnerability and risk
There is a call to method runFinalizersOnExit() which may cause erratic behavior or deadlocks.
Mitigation and prevention
Avoid the call to runFinalizersOnExit().
Example 1
9 void run() throws Throwable{ 10 System.runFinalizersOnExit(true); 11 }
JD.UMC.RUNFIN is reported for line 10: There is a call to method 'runFinalizersOnExit'. This method is inherently unsafe.