[infinispan-issues] [JBoss JIRA] (ISPN-10620) BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and also does not perform proper overwriting

Nistor Adrian (Jira) issues at jboss.org
Tue Sep 17 06:29:00 EDT 2019


Nistor Adrian created ISPN-10620:
------------------------------------

             Summary: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and also does not perform proper overwriting
                 Key: ISPN-10620
                 URL: https://issues.jboss.org/browse/ISPN-10620
             Project: Infinispan
          Issue Type: Bug
          Components: JMX, reporting and management
    Affects Versions: 10.0.0.CR1
            Reporter: Nistor Adrian
            Assignee: Nistor Adrian
             Fix For: 10.0.0.CR3


The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and  DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.

Also, the order of processing superclasses is wrong (reversed), so eventually overwritten operations are not correctly processed. The one in the superclass wins, so the overwrite is basically ignored.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the infinispan-issues mailing list