[java decompiler] unnecessary rethrow (IDEA-187608; EA-81800)

No need to propagate ThreadDeath here - the thread is going to finish anyway.
This commit is contained in:
Roman Shevchenko
2018-03-08 13:33:07 +01:00
parent 95aa1ae2f0
commit 6f30e387cf

View File

@@ -50,11 +50,8 @@ public class MethodProcessorRunnable implements Runnable {
DecompilerContext.setCurrentContext(parentContext);
root = codeToJava(method, methodDescriptor, varProc);
}
catch (ThreadDeath ex) {
throw ex;
}
catch (Throwable ex) {
error = ex;
catch (Throwable t) {
error = t;
}
finally {
DecompilerContext.setCurrentContext(null);