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

JMX scandir sample does not follow ObjectName conventions

    XMLWordPrintable

    Details

      Description

      The directory scan sample uses ObjectNames like com.sun.jmx.examples.scandir:type=DirectoryScannerMXBean,name=scan-build
      The "MXBean" is superfluous and doesn't correspond with standard ObjectNames in the JMX API itself, such as JMImplementation:type=MBeanServerDelegate (not type=MBeanServerDelegateMBean). It is likely to influence people to follow this bad example.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asapre Amit Sapre
              Reporter:
              emcmanus Eamonn McManus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: