Author: remy.maucherat(a)jboss.com
Date: 2009-10-21 14:09:41 -0400 (Wed, 21 Oct 2009)
New Revision: 1216
Modified:
trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java
Log:
- Two taglib "parsing" bugs.
Modified: trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java
===================================================================
--- trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java 2009-10-21 16:38:38 UTC
(rev 1215)
+++ trunk/java/org/apache/jasper/compiler/TagLibraryInfoImpl.java 2009-10-21 18:09:41 UTC
(rev 1216)
@@ -384,12 +384,12 @@
}
}
String className = variableInfo.getClassName();
- if (className != null) {
+ if (className == null) {
className = "java.lang.String";
}
boolean declare = true;
if (variableInfo.getDeclare() != null) {
- declare = JspUtil.booleanValue(s);
+ declare = JspUtil.booleanValue(variableInfo.getDeclare());
}
return new TagVariableInfo(variableInfo.getNameGiven(),
variableInfo.getNameFromAttribute(),
className, declare, scope);
Show replies by date