Author: vrubezhny
Date: 2010-08-03 09:49:44 -0400 (Tue, 03 Aug 2010)
New Revision: 23874
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java
Log:
JBIDE-6706: StackOverflowError in KB Project Validator
Exception is fixed
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 2010-08-03
11:53:15 UTC (rev 23873)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/core/resolver/TypeInfoCollector.java 2010-08-03
13:49:44 UTC (rev 23874)
@@ -145,7 +145,7 @@
fTypeOfArrayElement = type.getTypeOfArrayElement();
}
for (int i = 0; i < fParameters.length; i++) {
- if (type != fParameters[i])
+ if (fName == null || !fName.equals(fParameters[i].getName()))
fParameters[i].initializeParameters(parameters);
}
}
Show replies by date