User: juhalindfors
Date: 02/03/19 14:51:00
Modified: src/main/javax/management/modelmbean Tag: BranchMX_1_0
ModelMBeanInfoSupport.java
Log:
merge to 1.0
Revision Changes Path
No revision
No revision
1.7.2.1 +9 -2
jmx/src/main/javax/management/modelmbean/ModelMBeanInfoSupport.java
Index: ModelMBeanInfoSupport.java
===================================================================
RCS file:
/cvsroot/jboss/jmx/src/main/javax/management/modelmbean/ModelMBeanInfoSupport.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -r1.7 -r1.7.2.1
--- ModelMBeanInfoSupport.java 8 Mar 2002 14:53:37 -0000 1.7
+++ ModelMBeanInfoSupport.java 19 Mar 2002 22:51:00 -0000 1.7.2.1
@@ -35,6 +35,13 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>.
* @version $Revision$
+ *
+ * <p><b>Revisions:</b>
+ *
+ * <p><b>20020319 Juha Lindfors:</b>
+ * <ul>
+ * <li>Fixed ArrayIndexOutOfBoundsException bug in getOperationDescriptors()</li>
+ * </ul>
*/
public class ModelMBeanInfoSupport
extends MBeanInfo
@@ -346,7 +353,7 @@
for (int i = 0; i < operations.length; ++i)
{
- map.put(attributes[i].getName(),
((ModelMBeanOperationInfo)operations[i]).getDescriptor());
+ map.put(operations[i].getName(),
((ModelMBeanOperationInfo)operations[i]).getDescriptor());
}
return map;
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development