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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.2.1
    • core-svc
    • b32
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: