remove try/finally which leads to masking of exceptions occurring during generation of stub class [r=max]
This commit is contained in:
@@ -194,14 +194,10 @@ public class JetLightClass extends AbstractLightClass implements JetJavaMirrorMa
|
|||||||
fakeFile.setPhysical(false);
|
fakeFile.setPhysical(false);
|
||||||
answer.setPsi(fakeFile);
|
answer.setPsi(fakeFile);
|
||||||
|
|
||||||
try {
|
super.generateNamespace(namespace);
|
||||||
super.generateNamespace(namespace);
|
final StubElement pop = stubStack.pop();
|
||||||
}
|
if (pop != answer) {
|
||||||
finally {
|
LOG.error("Unbalanced stack operations: " + pop);
|
||||||
final StubElement pop = stubStack.pop();
|
|
||||||
if (pop != answer) {
|
|
||||||
LOG.error("Unbalanced stack operations: " + pop);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user