mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PsiFileImpl.switchFromStubToAst logging: don't call psi.toString to avoid SOE in cases it does getText
This commit is contained in:
@@ -260,7 +260,13 @@ public abstract class PsiFileImpl extends ElementBase implements PsiFileEx, PsiF
|
||||
|
||||
private void switchFromStubToAst(List<Pair<StubBasedPsiElementBase, AstPath>> bindings) {
|
||||
if (!bindings.isEmpty() && myUseStrongRefs) {
|
||||
LOG.error(this + " of " + getClass() + "; " + bindings);
|
||||
List<String> psiStrings = ContainerUtil.map(bindings, new Function<Pair<StubBasedPsiElementBase, AstPath>, String>() {
|
||||
@Override
|
||||
public String fun(Pair<StubBasedPsiElementBase, AstPath> pair) {
|
||||
return pair.first.getClass().getName();
|
||||
}
|
||||
});
|
||||
LOG.error(this + " of " + getClass() + "; " + psiStrings);
|
||||
}
|
||||
|
||||
for (Pair<StubBasedPsiElementBase, AstPath> pair : bindings) {
|
||||
|
||||
Reference in New Issue
Block a user