-
Bug
-
Resolution: Fixed
-
P3
-
6
-
None
-
b43
-
generic
-
generic
The immutableInfo field in a StandardMBean is supposed to be "true" if and only if the MBeanInfo is guaranteed never to change. The way this is determined is to ensure than none of the methods getMBeanInfo, getCachedMBeanInfo, or cacheMBeanInfo is overridden. However, the code to check this is incorrect. It calls getMethods() on the class to be checked, then loops over the methods to see whether one of the above methods is present. But getMethods() only returns public methods, whereas the getCachedMBeanInfo and cacheMBeanInfo methods are protected.
###@###.### 2005-06-09 10:12:34 GMT
###@###.### 2005-06-09 10:12:34 GMT