MXBean example class MemoryUsage has setters but should not

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • b67
    • generic
    • generic
    • Verified

      The Javadoc output for javax.management.MXBean includes an example of how a MemoryUsage class might be defined with Standard MBeans, and with MXBeans. Due to an editing error, the MXBean version includes methods setUsed and setMax where the Standard MBean version has getCommitted() and getMax(). The Standard MBean version is correct and the MXBean version should be identical here.

            Assignee:
            Joel Feraud (Inactive)
            Reporter:
            Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: