fix more errors of incomplete classpath

after this commit project without JDK configured is not all red
This commit is contained in:
Stepan Koltsov
2012-05-30 21:04:25 +04:00
parent a7aeba4e48
commit 7c0b8876ca
2 changed files with 5 additions and 1 deletions
@@ -893,7 +893,7 @@ public class JavaDescriptorResolver implements DependencyClassByQualifiedNameRes
if (resolved != null && resolved.getQualifiedName().equals(JvmStdlibNames.JET_OBJECT.getFqName().getFqName())) {
continue;
}
if (annotation && resolved.getQualifiedName().equals("java.lang.annotation.Annotation")) {
if (resolved != null && annotation && resolved.getQualifiedName().equals("java.lang.annotation.Annotation")) {
continue;
}