[jboss-jira] [JBoss JIRA] Created: (JBAS-3833) Cannot unregister HAMembershipListener

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


Cannot unregister HAMembershipListener
--------------------------------------

                 Key: JBAS-3833
                 URL: http://jira.jboss.com/jira/browse/JBAS-3833
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Clustering
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
             Fix For: JBossAS-4.2.0.CR1, JBossAS-4.0.5.SP1 


 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