mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
prevent PsiFileImpl.isValid recursion (IDEA-CR-22738)
This commit is contained in:
@@ -162,7 +162,7 @@ public abstract class PsiFileImpl extends ElementBase implements PsiFileEx, PsiF
|
||||
// but some VFS listeners receive the same events before that and ask PsiFile.isValid
|
||||
return false;
|
||||
}
|
||||
if (myOriginalFile != null && !myOriginalFile.isValid()) {
|
||||
if (myOriginalFile != null && myOriginalFile != this && !myOriginalFile.isValid()) {
|
||||
return false;
|
||||
}
|
||||
return !myInvalidated;
|
||||
|
||||
Reference in New Issue
Block a user