The attached patch fixes the bugs with introspection I have
encountered. Woo Hoo! It was created with "cvs diff -c".
Regards,
--mike
Index: src/java/org/apache/velocity/util/introspection/ClassMap.java
===================================================================
RCS file:
/home/cvspublic/jakarta-velocity/src/java/org/apache/velocity/util/introspection/ClassMap.java,v
retrieving revision 1.16
diff -c -r1.16 ClassMap.java
*** src/java/org/apache/velocity/util/introspection/ClassMap.java 2001/11/26
16:01:14 1.16
--- src/java/org/apache/velocity/util/introspection/ClassMap.java 2001/11/26
19:13:42
***************
*** 352,360 ****
if(!methodInfo.upcast)
{
methodInfo.tryUpcasting(clazz);
}
-
- upcastCount++;
}
catch(NoSuchMethodException e)
{
--- 352,359 ----
if(!methodInfo.upcast)
{
methodInfo.tryUpcasting(clazz);
+ ++upcastCount;
}
}
catch(NoSuchMethodException e)
{
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>