On 05/17/2012 10:22 AM, Jacopo Cappellato wrote:
> Adam,
> 
> I am sorry but a few minutes ago I filed the bug in the Freemarker issue 
> tracker:
> 
> https://sourceforge.net/tracker/?func=detail&aid=3527625&group_id=794&atid=100794
> 
> I think I have added enough details for them to comment; if you feel like you 
> can provide more of them (or even a patch) please feel free to comment on the 
> same ticket.

At the very least, when I get around to working on it, I'll create a
much smaller example.  I've got a git svn clone in progress(just got
in to work).

* must use the 'null' keyword in the ftl, I don't think using a
variable that resolves to null will trigger it; it might, depending on
how tight freemarker keeps the type with the variable.
* it's possible that you need to have a vararg method involved.  That
means using '...', not just Object[].
* Of course, all the methods need to have the same name.
* based on my reading of the code, it doesn't matter which raw order
the methods are returned in when doing reflection on the class.
* It's not just related to Static['foo']; again, based on my reading
of the code.

Reply via email to