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

The whole set of interfaces should be considered to decide an MBean is MXBean or not

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • core-svc
    • b53
    • generic
    • generic
    • Verified

      When the interface implemented by the MBean class has no MXBean semantic but that interface inherits MXBean semantic from his father, then MBean is MXBean.
      The RI rejects with with a NotCompliantMBeanException.
      The specification may be clarified; it says:

      [...]
      Otherwise, it may be an MXBean. The set of interfaces implemented by the object is examined for interfaces that:
      [...]

      The "set of interfaces" is the whole set, not first level interfaces only.

            emcmanus Eamonn McManus
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: