Create composite exception tracker when delegating ModuleResolverProvider
Avoid dropping delegate caches when exception (i.e. ProcessCancelled) is thrown in delegating provider
This commit is contained in:
@@ -421,4 +421,11 @@ public class LockBasedStorageManager implements StorageManager {
|
||||
}
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static LockBasedStorageManager createDelegatingWithSameLock(
|
||||
@NotNull LockBasedStorageManager base,
|
||||
@NotNull ExceptionHandlingStrategy newStrategy
|
||||
) {
|
||||
return new LockBasedStorageManager(getPointOfConstruction(), newStrategy, base.lock);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user