"Kabir" wrote : Do you mean this:
|
| | protected boolean convertReferences(CtClass clazz, ClassAdvisor clazzAdvisor)
throws Exception
| | {
| | boolean converted = false;
| | String ref = null;
| | try
| | {
| | AOPClassPool pool = AOPClassPool.createAOPClassPool(clazz.getClassPool(),
AOPClassPoolRepository.getInstance());
| |
| It is something I've always assumed was there for a reason and taken for granted
since it has been there since before my time. However, all that seems to do is to delegate
to the parent classpool so maybe it can be removed and clazz.getClassPool() can be used?
I'll test that and see what happens.
"Kabir" wrote :
| It looks like StandaloneClassPool(Factory) is used when run standalone, i.e. in the
testsuite. But that can maybe live in AOP?
Yes, that's what I'm thinking. The whole point here is that if JBoss Reflection is
used with a standalone application, the javassist ClassPool can be used.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243558#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...