Understand /-separated class names in NCDFE (IDEA-CR-53564)

GitOrigin-RevId: 469ab1715211d698184b0e771f21dfa91229d55f
This commit is contained in:
Dmitry Jemerov
2019-10-24 17:02:44 +00:00
committed by intellij-monorepo-bot
parent 3245268db3
commit a33f3d6684
@@ -943,6 +943,9 @@ public class IdeErrorsDialog extends DialogWrapper implements MessagePoolListene
else if (t instanceof NoClassDefFoundError && t.getMessage() != null) {
String className = StringUtil.substringAfterLast(t.getMessage(), " ");
if (className == null) className = t.getMessage();
if (className.indexOf('/') > 0) {
className = className.replace('/', '.');
}
if (PluginManagerCore.isPluginClass(className)) {
return PluginManagerCore.getPluginByClassName(className);
}