[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
Mon Aug 6 14:52:00 EDT 2018
[ https://issues.jboss.org/browse/WFCORE-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins resolved WFCORE-845.
----------------------------------
Resolution: Out of Date
> 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: 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
(v7.5.0#75005)
More information about the jboss-jira
mailing list