[jboss-dev] JBAS-7650 - jboss-cl 2.2.x upgrade WAS Re: Planning to revert

Adrian Brock abrock at redhat.com
Mon Feb 1 07:36:37 EST 2010


On Sat, 2010-01-30 at 10:25 -0600, Brian Stansberry wrote:
> When I get back from eating in an hour or so, I'm going to revert 2 
> recent changes:


> 2) The jboss-cl upgrade to 2.2.0.Alpha1. I'll discuss with Ales, Adrian 
> and Thomas how to deal w/ getting the ClassCircularityErrors we're 
> seeing fixed.
> 

I've put 2.2.0.Alpha1 back in jboss-as trunk, and changed the
behaviour back to what it was with 2.0.8
https://jira.jboss.org/jira/browse/JBAS-7650

See conf/bootstrap/classloader.xml

   <bean name="ClassLoaderDomain"
class="org.jboss.classloader.spi.ClassLoaderDomain">
      <classloader><null/></classloader>
      <constructor factoryMethod="getDefaultDomain">
         <factory bean="ClassLoaderSystem"/>
      </constructor>
      <property name="useLoadClassForParent">true</property>
   </bean>


The bug actually exists in 2.0.8, but you don't hit it because
useLoadClassForParent was true by default in that branch.

Obviously, I still need to figure out why it is failing with
useLoadClassForParent=false
That's just an optimization to avoid locking the
bootstrap classloader too much. It should have the same
semantics.
https://jira.jboss.org/jira/browse/JBCL-142

-- 
xxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss by Redhat
xxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list