[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t

2004-11-04 Thread chiba
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-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t

2004-10-04 Thread hlship
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 ea

[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t

2004-09-03 Thread chiba
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

[JBoss-user] [Javassist user questions] - Re: Copying / Moving fabricated CtClass from one ClassPool t

2004-08-31 Thread hlship
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 hap