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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: