[infinispan-issues] [JBoss JIRA] (ISPN-10620) BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding

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


     [ https://issues.jboss.org/browse/ISPN-10620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nistor Adrian updated ISPN-10620:
---------------------------------
    Summary: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding  (was: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and ignores overwriting)


> BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding
> ----------------------------------------------------------------------------------------------------------
>
>                 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
>            Priority: Major
>             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