Do not use ApplicationExtensionDescriptor in JPS (KT-26542)

The 'ExtensionPointName' class that ApplicationExtensionDescriptor uses is missing in the JPS classpath.
Now we don't use it unless the IDEA Application is properly initialized.
This commit is contained in:
Yan Zhulanow
2018-09-04 01:59:50 +03:00
parent 0eba87b571
commit 7398a8149d
2 changed files with 10 additions and 11 deletions
@@ -70,7 +70,7 @@ class FrameworkLibraryValidatorWithDynamicDescription(
val targetPlatform = getPlatform()
if (checkLibraryIsConfigured(targetPlatform)) {
val conflictingPlatforms = IdePlatformKind.getInstances()
val conflictingPlatforms = IdePlatformKind.ALL_KINDS
.filter { !it.isCommon && it.name != targetPlatform.name && checkLibraryIsConfigured(it) }
if (conflictingPlatforms.isNotEmpty()) {