提交 fb5fd475 编写于 作者: D Dmitry Jemerov

remove try/finally which leads to masking of exceptions occurring during...

remove try/finally which leads to masking of exceptions occurring during generation of stub class [r=max]
上级 6b3864a1
......@@ -194,14 +194,10 @@ public class JetLightClass extends AbstractLightClass implements JetJavaMirrorMa
fakeFile.setPhysical(false);
answer.setPsi(fakeFile);
try {
super.generateNamespace(namespace);
}
finally {
final StubElement pop = stubStack.pop();
if (pop != answer) {
LOG.error("Unbalanced stack operations: " + pop);
}
super.generateNamespace(namespace);
final StubElement pop = stubStack.pop();
if (pop != answer) {
LOG.error("Unbalanced stack operations: " + pop);
}
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册