View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820081#3820081
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820081 Looks like a classloader problem. Where is mypackage/cell/Cell? Is it in the System classpath? Or is it loaded by some sub-classloader? The CtClas.toClass() method uses a custom embedded ClassLoader in which the parent CL is the System classloader. My bet is that you will have to create is a subclass of ClassLoader in which you expose a loadClassFromBytes(String name, byte[] bytes) this method would have to call defineClass. The parent classloader of this classloader would have to be: Thread.currentThread().getContextClassLoader() or MyPackage.cell.Cell.class.getClassLoader(); Am I making sense? bill ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
