Javadoc error in permissions required by getDomains().

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 5.0
    • Affects Version/s: 1.2.0
    • Component/s: core-svc
    • None
    • tiger_integ
    • sparc
    • solaris_2.5.1
    • Not verified

      The javadoc in the javax.management.MBeanServer class says:

      "Additionally, for each domain d in the returned array, if the caller's permissions do not imply
      MBeanPermission(null, null, new ObjectName("d:x=x"), "queryMBeans"), the domain is eliminated
      from the array."

      And it should say:

      "Additionally, for each domain d in the returned array, if the caller's permissions do not imply
      MBeanPermission(null, null, new ObjectName("d:x=x"), "getDomains"), the domain is eliminated
      from the array."

      The fix to carry out is just to replace "queryMBeans" by "getDomains".

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: