[jboss-jira] [JBoss JIRA] Resolved: (JBCLUSTER-152) Cannot unregister membership listener

Brian Stansberry (JIRA) jira-events at jboss.com
Mon Nov 6 13:45:41 EST 2006


     [ http://jira.jboss.com/jira/browse/JBCLUSTER-152?page=all ]

Brian Stansberry resolved JBCLUSTER-152.
----------------------------------------

    Resolution: Duplicate Issue

Thanks for the report. Resolving this issue as a duplicate, because I opened issue JBAS-3833 under the JBoss Application Server project.  Bug reports there can be tracked against AS releases.

> Cannot unregister membership listener
> -------------------------------------
>
>                 Key: JBCLUSTER-152
>                 URL: http://jira.jboss.com/jira/browse/JBCLUSTER-152
>             Project: JBoss Clustering
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: Doesn't matter
>            Reporter: Tamas Barta
>         Assigned To: Brian Stansberry
>
> org.jboss.ha.framework.server.HAPartitiomImpl.java:
>    public void unregisterMembershipListener(HAMembershipListener listener)
>    {
>       boolean isAsynch = (this.allowSyncListeners == false)
>             || (listener instanceof AsynchHAMembershipListener)
>             || (listener instanceof AsynchHAMembershipExtendedListener);
>       if( isAsynch ) {
>          synchronized(this.asynchListeners) {
>             this.asynchListeners.add(listener);
>          }
>       }
>       else  {
>          synchronized(this.synchListeners) {
>             this.synchListeners.add(listener);
>          }
>       }
>    }
> "synchListeners.add" should be "synchListeners.remove"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list