do not use anonymous threads

master
Alexey Kudravtsev 10 years ago
parent 022d552b30
commit 32d7924fe0
  1. 2
      src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java

@ -91,7 +91,7 @@ public class ClassWrapper {
else { else {
MethodProcessorRunnable mtProc = new MethodProcessorRunnable(mt, varProc, DecompilerContext.getCurrentContext()); MethodProcessorRunnable mtProc = new MethodProcessorRunnable(mt, varProc, DecompilerContext.getCurrentContext());
Thread mtThread = new Thread(mtProc); Thread mtThread = new Thread(mtProc, "Java decompiler");
long stopAt = System.currentTimeMillis() + maxSec * 1000; long stopAt = System.currentTimeMillis() + maxSec * 1000;
mtThread.start(); mtThread.start();

Loading…
Cancel
Save