KT-1223 Code completion for imported from jars extension functions - don't mute ProcessCanceledException in hack
This commit is contained in:
@@ -2,6 +2,7 @@ package org.jetbrains.jet.lang.resolve.java;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.psi.PsiClass;
|
||||
import com.intellij.psi.PsiMethod;
|
||||
import com.intellij.psi.PsiModifier;
|
||||
@@ -112,6 +113,8 @@ public class JavaPackageScope extends JavaClassOrPackageScope {
|
||||
for (String methodName : methodNames) {
|
||||
try {
|
||||
allDescriptors.addAll(getFunctions(methodName));
|
||||
} catch (ProcessCanceledException cancelException) {
|
||||
throw cancelException;
|
||||
} catch (RuntimeException ex) {
|
||||
LOG.error(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user