MBeanInfo's Descriptor of a standard MBean should contain mxbean=false

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • b61
    • generic
    • generic
    • Verified

      As of Mustang b55.
      All platforms.
      Attached standalone Java code for an easy replay.
      The javadoc for interface javax.management.Descriptor says about the field mxbean:

      [...]
      The string "true" or "false" according as this MBean is an MXBean. A Standard MBean or MXBean registered directly with the MBean Server or created using the StandardMBean class will have this field in its MBeanInfo Descriptor.
      [...]

      In case of a standard mbean, the field mxbean=false does not appear into the MBeanInfo Descriptor.

            Assignee:
            Luis-Miguel Alventosa (Inactive)
            Reporter:
            Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: