Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6337061

ModelMBeanInfoSupport.getDescriptors(null) doesn't return modelMBeanDescriptor

    XMLWordPrintable

Details

    Description

      FULL PRODUCT VERSION :
      java version "1.5.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
      Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      ModelMBeanInfoSupport.getDescriptors(null) doesn't return modelMBeanDescriptor.

        From the javadoc:

      Parameters:
      inDescriptorType - value of descriptorType field that must be set for the descriptor to be returned. Must be "mbean", "attribute", "operation", "constructor" or "notification". If it is null or empty then all types will be returned.
      Returns:
      Descriptor array containing all descriptors for the ModelMBean if type inDescriptorType.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      Attachments

        Activity

          People

            dfuchs Daniel Fuchs
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: