Edward Yakop wrote: > Hi, > > I've been adding osgi integration test on core and I found a > classloading problem revolving around cglib enhancer. > The main problem is enhancer uses fragment class class loader to > create an enhanced class. If the fragment class > bundle does not import net.sf.cglib.proxy package, the enhancer will > throw a ClassDefNotFoundError exception. > > I googled this topic and found interesting discussion: > http://groups.google.com/group/spring-osgi/browse_frm/thread/d921aaec07c3a5be/41b387ffde4c715b?lnk=gst&q=cglib&pli=1 > > I think Stuart's solution to subclass Enhancer and override > Enhancer#getClassLoader() would be the way to go. > > wdyt?
Well, I don't quite understand all of this, but if we can get decent OSGi support that would be GREAT! /Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

