[jboss-jira] [JBoss JIRA] (WFCORE-845) The ActiveOperationSupport shouldn't use assertions for state as assertions can be turned off
Brian Stansberry (JIRA)
issues at jboss.org
Thu Sep 17 20:40:00 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13110249#comment-13110249 ]
Brian Stansberry commented on WFCORE-845:
-----------------------------------------
The assertion discussed in WFCORE-845 needs to be disabled altogether until WFCORE-199 is fixed.
> 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.4.11#64026)
More information about the jboss-jira
mailing list