MBeanProxyExt doesn't handle equals correctly ---------------------------------------------
Key: JBJMX-2 URL: http://jira.jboss.com/jira/browse/JBJMX-2 Project: JBoss JMX Type: Bug Environment: org.jboss.mx.util.MBeanProxyExt Reporter: Dimitris Andreadis Assigned to: Dimitris Andreadis Dynamic proxies created by org.jboss.mx.util.MBeanProxyExt do not implement equals()/hashCode() correctly, so if you do a: proxy.equals(proxy) you get false. I just found out when trying to register to the MainDeployer a proxy of the EJBDeployer rather than a direct reference. Interestingly enough, class MBeanProxy (without Ext) implements similar functionality, although its equal method treats as not equal different proxy instances that point to the same mbean, which is probably wrong. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development