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

MBean server forbids calling "isX()" as operation even if it is not an attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 5.0
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      generic
    • OS:
      generic

      Description

      The MBean server recognizes that certain methods in a Standard MBean that begin with "isX()" define operations, not attributes. If the return type is not boolean, then it is an operation. Nevertheless, it forbids calling such an operation using MBeanServer.invoke.

        Attachments

          Activity

            People

            Assignee:
            emcmanus Eamonn McManus
            Reporter:
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: