[
http://jira.jboss.com/jira/browse/JBAS-3833?page=all ]
Brian Stansberry closed JBAS-3833.
----------------------------------
Fix Version/s: JBossAS-5.0.0.Beta
Resolution: Done
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
Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.0.4.GA
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.Beta, 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