commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [Jelly] Tag contribution
Date Thu, 20 Feb 2003 04:57:46 GMT
James.,

Thread.getContextClassLoader() could return null.....
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"James Strachan" <james_strachan@yahoo.co.uk> wrote on 19/02/2003 06:44:42 
PM:

> From: "Robert McIntosh" <robert@bull-enterprises.com>
> > 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message