FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
11 6 0 0

delight.nashornsandbox.internal.NashornSandboxImpl

Bug Category Details Line Priority
Inconsistent synchronization of delight.nashornsandbox.internal.NashornSandboxImpl.exectuor; locked 50% of time MT_CORRECTNESS IS2_INCONSISTENT_SYNC 332 Medium
Unconditional wait in delight.nashornsandbox.internal.NashornSandboxImpl.eval(String) MT_CORRECTNESS UW_UNCOND_WAIT 243 Medium
Wait not in loop in delight.nashornsandbox.internal.NashornSandboxImpl.eval(String) MT_CORRECTNESS WA_NOT_IN_LOOP 243 Medium

delight.nashornsandbox.internal.NashornSandboxImpl$1

Bug Category Details Line Priority
instanceof will always return true for all nonnull values in delight.nashornsandbox.internal.NashornSandboxImpl$1.run(), since all Throwable are instances of Throwable STYLE BC_VACUOUS_INSTANCEOF 228 Medium
Random object created and used only once in delight.nashornsandbox.internal.NashornSandboxImpl$1.run() BAD_PRACTICE DMI_RANDOM_USED_ONLY_ONCE 163 High
Bad attempt to compute absolute value of signed random integer in delight.nashornsandbox.internal.NashornSandboxImpl$1.run() CORRECTNESS RV_ABSOLUTE_VALUE_OF_RANDOM_INT 163 High