[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:
@@ -50,11 +50,8 @@ public class MethodProcessorRunnable implements Runnable {
|
|||||||
DecompilerContext.setCurrentContext(parentContext);
|
DecompilerContext.setCurrentContext(parentContext);
|
||||||
root = codeToJava(method, methodDescriptor, varProc);
|
root = codeToJava(method, methodDescriptor, varProc);
|
||||||
}
|
}
|
||||||
catch (ThreadDeath ex) {
|
catch (Throwable t) {
|
||||||
throw ex;
|
error = t;
|
||||||
}
|
|
||||||
catch (Throwable ex) {
|
|
||||||
error = ex;
|
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
DecompilerContext.setCurrentContext(null);
|
DecompilerContext.setCurrentContext(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user