[jboss-jira] [JBoss JIRA] (WFCORE-845) The ActiveOperationSupport shouldn't use assertions for state as assertions can be turned off
James Perkins (JIRA)
issues at jboss.org
Tue Jul 28 14:53:02 EDT 2015
James Perkins created WFCORE-845:
------------------------------------
Summary: The ActiveOperationSupport shouldn't use assertions for state as assertions can be turned off
Key: WFCORE-845
URL: https://issues.jboss.org/browse/WFCORE-845
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: James Perkins
Assignee: James Perkins
The [{{ActiveOperationSupport}}|https://github.com/wildfly/wildfly-core/blob/master/protocol/src/main/java/org/jboss/as/protocol/mgmt/ActiveOperationSupport.java#L151] uses assertions to validate if the remote protocol has been shutdown. These should throw an exception rather than an {{AssertionError}} which can be turned off.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list