ive created a aopversion of JavassistTypeInfoFactoryImpl that can be found in the aop
project as org.jboss.aop.reflectprototype.JavassistAopTypeInfoFactoryImpl.
i made a simple test to make sure that the CtClass isnt frozen (eg the class file is
loaded) when creating a ClassInfo object from a CtClass.
however, when i try to make some changes to that CtClass and try to load a new ClassInfo
object that should reflect the changes the changes isnt there. i recon its because the
CtClass is cached in WeakClassCache. can this be an issue for aop? it means that after we
get a ClassInfo reference of a CtClass, we cant make changes to that CtClass anymore. imo
this would be too restrictive for aop.
take a look at the test
org.jboss.test.aop.reflectprototype.JavassistAopTypeInfoFactoryImplTestCase for an
example.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200364#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...