Back to Intellij Community

ThreadRun

jvm/jvm-analysis-impl/resources/inspectionDescriptions/ThreadRun.html

2025.3-rc-2241 B
Original Source

Reports calls to run() on java.lang.Thread or any of its subclasses.

While occasionally intended, this is usually a mistake, because run() doesn't start a new thread. To execute the code in a separate thread, start() should be used.