mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
schedule index rebuild after assertion
This commit is contained in:
@@ -286,6 +286,8 @@ public class StubIndexImpl extends StubIndex implements ApplicationComponent, Pe
|
||||
else {
|
||||
throw e;
|
||||
}
|
||||
} catch (AssertionError ae) {
|
||||
forceRebuild(ae);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
@@ -910,6 +910,8 @@ public class FileBasedIndexImpl extends FileBasedIndex {
|
||||
else {
|
||||
throw e;
|
||||
}
|
||||
} catch(AssertionError ae) {
|
||||
scheduleRebuild(indexId, ae);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -1247,6 +1249,8 @@ public class FileBasedIndexImpl extends FileBasedIndex {
|
||||
else {
|
||||
throw e;
|
||||
}
|
||||
} catch (AssertionError ae) {
|
||||
scheduleRebuild(indexId, ae);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user