Author: akazakov
Date: 2012-06-06 19:44:04 -0400 (Wed, 06 Jun 2012)
New Revision: 41761
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
Log:
https://issues.jboss.org/browse/JBIDE-10738 As-you-type EL validation
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-06-06
23:30:58 UTC (rev 41760)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2012-06-06
23:44:04 UTC (rev 41761)
@@ -814,7 +814,7 @@
List<IType> allTypes = new ArrayList<IType>();
Set<IType> allTypesSet = new HashSet<IType>();
Set<IType> superinterfaces = new HashSet<IType>();
- while (binType != null) {
+ while (binType != null && binType.exists()) {
if(allTypesSet.contains(binType)) break;
allTypes.add(binType);
allTypesSet.add(binType);