]
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.