Author: vrubezhny
Date: 2009-12-03 07:45:13 -0500 (Thu, 03 Dec 2009)
New Revision: 19018
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/JspContextImpl.java
Log:
JBIDE-5370: ArrayStoreException in org.eclipse.wst.validation
Issue is fixed
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/JspContextImpl.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/JspContextImpl.java 2009-12-03
10:13:52 UTC (rev 19017)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/JspContextImpl.java 2009-12-03
12:45:13 UTC (rev 19018)
@@ -84,7 +84,7 @@
System.arraycopy(thisVars, 0, result, 0, thisVars.length);
}
if (!includedVars.isEmpty()) {
- System.arraycopy(includedVars.toArray(new ITagLibrary[includedVars.size()]), 0,
+ System.arraycopy(includedVars.toArray(new Var[includedVars.size()]), 0,
result, thisVars == null ? 0 : thisVars.length, includedVars.size());
}
return result;
Show replies by date