[spring] dependency fixed #IDEA-272436 fixed

GitOrigin-RevId: 48426459e45bc19251ccf54bd3aad0f863703933
This commit is contained in:
Andrew Kozlov
2021-06-28 14:42:59 +00:00
committed by intellij-monorepo-bot
parent dd7c3183dc
commit b806fbc515

View File

@@ -294,11 +294,9 @@ public final class PluginClassLoader extends UrlClassLoader implements PluginAwa
pluginClassLoader.packagePrefix,
forceLoadFromSubPluginClassloader);
if (consistencyError != null) {
if (!consistencyError.isEmpty()) {
if (error == null) {
// yes, we blame requestor plugin
error = new PluginException(consistencyError, pluginId);
}
if (!consistencyError.isEmpty() && error == null) {
// yes, we blame requestor plugin
error = new PluginException(consistencyError, pluginId);
}
continue;
}