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

No need to propagate ThreadDeath here - the thread is going to finish anyway.
master
Roman Shevchenko 7 years ago
parent 95aa1ae2f0
commit 6f30e387cf
  1. 7
      src/org/jetbrains/java/decompiler/main/rels/MethodProcessorRunnable.java

@ -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);

Loading…
Cancel
Save