From: "Robert McIntosh" <[EMAIL PROTECTED]>
> I've been playing around quite a bit with Jelly and I found a need to
> invoke static methods without having an object instance, like InvokeTag
> requires. An example of this would be the System class. So, I created
> one and happily contributing it if it is wanted.

Great stuff - I've wanted to get around this issue too. Adding support for
methods on Class instances in Jexl might be a good idea too.

Patch applied. I made a couple of minor changes, mostly that Class.forName()
is evil...

http://radio.weblogs.com/0112098/stories/2003/02/12/classfornameIsEvil.html

so I refactored that part of the code a little and migrated the code to the
new checked exception API.


> It is fully JavaDoced, but while I have tested the code that does the
> invocation via other means, I don't have a junit for this tag in
particular.

A JUnit test case for this code would be great :)

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to