Author: scabanovich
Date: 2012-05-10 20:45:32 -0400 (Thu, 10 May 2012)
New Revision: 40938
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
Log:
JBIDE-11837
https://issues.jboss.org/browse/JBIDE-11837
Super interface is checked for existence.
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2012-05-11
00:28:41 UTC (rev 40937)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2012-05-11
00:45:32 UTC (rev 40938)
@@ -994,8 +994,10 @@
break;
}
IType superType = type.getJavaProject().findType(fullySuperclassName);
- result.add(superType);
- initSuperinterfaces(superType, result);
+ if(superType != null) {
+ result.add(superType);
+ initSuperinterfaces(superType, result);
+ }
}
}
}