[jboss-jira] [JBoss JIRA] Updated: (JBMICROCONT-190) Bug in deployer sorting

Adrian Brock (JIRA) jira-events at lists.jboss.org
Tue Jul 3 11:07:57 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBMICROCONT-190?page=all ]

Adrian Brock updated JBMICROCONT-190:
-------------------------------------

    Workaround Description: 
You should be able to workaround this problem using the relative order.

                Workaround: [Workaround Exists]

I've added a test
org.jboss.test.deployers.deployer.test.DeployerFlowUnitC.testIntermediateIsRelativelySorted

It also depends upon the intermediate being before the new deployer based on the
Ordered.COMPARATOR

> Bug in deployer sorting
> -----------------------
>
>                 Key: JBMICROCONT-190
>                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-190
>             Project: JBoss MicroContainer
>          Issue Type: Bug
>          Components: Deployment
>            Reporter: Adrian Brock
>         Assigned To: Ales Justin
>            Priority: Critical
>             Fix For: JBossMC_2_0_0_CR1
>
>
> The the DeployersImpl.sort() is too simplistic.
> See the attached forum thread.
> It needs to be more like a true bubble sort where it compares an entry with all subsequent entries,
> not just the next neighbour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list