[jboss-jira] [JBoss JIRA] Created: (JBJMX-113) In jmx-console the mbean attribute and operation infos are not sorted

Michael Woldrich (JIRA) jira-events at lists.jboss.org
Tue Jan 18 10:05:49 EST 2011


In jmx-console the mbean attribute and operation infos are not sorted
---------------------------------------------------------------------

                 Key: JBJMX-113
                 URL: https://issues.jboss.org/browse/JBJMX-113
             Project: JBoss JMX
          Issue Type: Bug
         Environment: JBoss-5.1.0.GA
            Reporter: Michael Woldrich
            Priority: Minor


There is no sorting in jmx-console for mbean attributes and operations. I found in file inspectMBean.jsp a uncommented code area:

//FIXME: Seems to create ArrayIndexOutofBoundsException when uncommented
   /*Arrays.sort(attributeInfo, MBEAN_FEATURE_INFO_COMPARATOR);

   HashMap operationInfoIndexMap = new HashMap();
   for (int a = 0; a < operationInfo.length; a++)
   {
      MBeanOperationInfo opInfo = operationInfo[a];
      operationInfoIndexMap.put(opInfo, String.valueOf(a));
   }

   Arrays.sort(operationInfo, MBEAN_FEATURE_INFO_COMPARATOR);
   */



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list