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

MXBean example class MemoryUsage has setters but should not

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: