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

Loading…
Cancel
Save