mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
propagate AssertionError during stub processing to the caller
This commit is contained in:
@@ -365,8 +365,11 @@ public class StubIndexImpl extends StubIndex implements PersistentStateComponent
|
||||
FileBasedIndexImpl.enableUpToDateCheckForCurrentThread();
|
||||
}
|
||||
}
|
||||
catch (StorageException | AssertionError e) {
|
||||
catch (StorageException e) {
|
||||
forceRebuild(e);
|
||||
} catch (AssertionError e) {
|
||||
forceRebuild(e);
|
||||
throw e;
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
final Throwable cause = FileBasedIndexImpl.getCauseToRebuildIndex(e);
|
||||
|
||||
Reference in New Issue
Block a user