[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t
anonymous wrote : I just queried in the dev forum ... when will try...finally be supported? I have just implemented try-finally and checked the code into the CVS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853904#3853904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853904 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t
I actually reorganized my code and found a way to continue using 2.6. I share a single class pool, but do some interesting work with a customized delegating class loader. BTW ... I have to say that for many typical uses of Javassist, the wrapper services for it in HiveMind make it very, very easy. By typical use, I mean how Tapestry and HiveMind use Javassist: to create new classes at runtime (not modify existing classes). This is a small subset of Javassist, but a very useful one. I just queried in the dev forum ... when will try...finally be supported? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850308#3850308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850308 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t
Due to the problem you mentioned, I modified the ClassPool architecture; Javassist 3.0 allows cascading ClassPools as Java does ClassLoaders. You can tell a ClassPool (B) to delegate to the parent (A) if it does not find a class. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847202#3847202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847202 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t
BTW ... it's for Javassist 2.6. I have a solution that involves sharing the ClassPool. It seems to work. It does involve invoking the appendClassPath() method, which is not synchronized (I created a subclass of ClassPool that synchronized the method). I'm somewhat concerned about what will happen in a complex classloader environment when there are conflicts between some of the classes. Testing will tell. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846792#3846792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846792 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user