JBoss development,
A new message was posted in the thread "ClassPool Refactoring":
http://community.jboss.org/message/522362#522362
Author : Flavia Rainone
Profile :
http://community.jboss.org/people/flavia.rainone@jboss.com
Message:
--------------------------------------------------------------
mailto:kabir.khan@jboss.com wrote:
The only scenario I can think of where this might not happen, is if there are two
classpools in the domain loading the same class? CP1 was added to the domain first and
contains Class A, and CP2 was added later and also contains Class A. If a) happens for
Class A using CP2 then that will be added, but in b) when hitting the domain CP1 will be
used first. Maybe we are having problems with classpools not getting unregistered as they
should?
I am not sure, because the tests fail even the first time I run the tests
against a newly started up AS. Where else would this class be coming from, except from the
new ClassPool itself?
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/522362#522362