Thanks, I did just that after spending a little time tracing the code, which allowed me to point out the problem in the introspection code.
Unfortunately, I don't fully grok the code to feel comfortable suggesting a fix! https://issues.apache.org/jira/browse/VELOCITY-753 > -----Original Message----- > From: Jarkko Viinamäki-2 [mailto:[email protected]] > Sent: Monday, January 25, 2010 3:12 PM > To: [email protected] > Subject: RE: Reflection not handling Floats correctly > > > Oh. You are right, I missed that. Considering the fact that > Format class implements that method, this looks like a bug. > There have been some issues regarding class/interface method > scanning code. Maybe you could file a JIRA issue about this? > > > Kuntz, Tim wrote: > > > > The only piece missing is that NumberFormat extends Format > which does > > have the fomat(Object obj) method. > > > > http://java.sun.com/j2se/1.5.0/docs/api/java/text/Format.html > > > > -- > View this message in context: > http://old.nabble.com/Reflection-not-handling-Floats-correctly > -tp27279916p27313733.html > Sent from the Velocity - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
