From 32d7924fe01cd4d2f4cc9957e3006f231718cd46 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Fri, 5 Jun 2015 14:44:27 +0300 Subject: [PATCH] do not use anonymous threads --- src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java b/src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java index 1b4a134..18f05a3 100644 --- a/src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java +++ b/src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java @@ -91,7 +91,7 @@ public class ClassWrapper { else { 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; mtThread.start();