geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Sisson <>
Subject Re: [jira] Created: (GERONIMO-1221) Recent caching changes in cglib broke axis-builder
Date Wed, 23 Nov 2005 02:34:34 GMT
FYI.. I made a change to axis in relation to CGLIB a few weeks ago, but it wasn't in axis-builder.


David Jencks (JIRA) wrote:

>Recent caching changes in cglib broke axis-builder
>         Key: GERONIMO-1221
>         URL:
>     Project: Geronimo
>        Type: Bug
>  Components: webservices  
>    Versions: 1.0    
>    Reporter: David Jencks
> Assigned to: David Jencks 
>     Fix For: 1.0
>Apparently recent changes in cglib broke axis-builder.   In axis-builder we enhance classes
and save the bytecode in the configuration we are building.  This only works if cglib actually
enhances the class when we ask it to: if it has cached the enhanced class we don't get the
bytes back.  Rather than trying to add another cache and try to figure out classloader lifetimes
it is simpler to explictly turn off cglib caching with enhancer.setUseCache(false).  This
may be something to be careful of when we generate and save other enhanced classes at deploy

View raw message