[jboss-jira] [JBoss JIRA] (AS7-6037) Inconsistent handling of System.exit in HostController's Main class

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Nov 26 12:41:21 EST 2012


Brian Stansberry created AS7-6037:
-------------------------------------

             Summary: Inconsistent handling of System.exit in HostController's Main class
                 Key: AS7-6037
                 URL: https://issues.jboss.org/browse/AS7-6037
             Project: Application Server 7
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 7.1.3.Final (EAP)
            Reporter: Brian Stansberry


The org.jboss.as.host.controller.Main class has a couple abort() methods that deal with terminating the process while sending a proper exit code, and then a couple other places where System.exit() is called directly.

This should be cleaned up and handled consistently. Care must be taken though to ensure that the exit code that ends up being emitted isn't changed from the current behavior (unless their is clearly a bug in the current behavior.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list