Description of problem: As the description says, org.jboss.as.server.deployment.RegisteredDeploymentUnitProcessor's compareTo is wrong. This can prevent the server booting correctly in some circumstances (e.g. with some versions of JDK8).
Proposing for 6.2
Verified for 6.2.0.ER6 based on Stuart's email [1] -- we haven not encountered any issues regarding deployments. [1] email mentioned above: >There is no way to reproduce the circumstances that caused the server to fail to start. AFAIK even on later JDK8 builds it should work fine. > >This change is right in the heart of the deployment code, if it is wrong then it >will show up in problems with the deployment process, there is no way to test it in isolation.