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

JMX scandir sample does not follow ObjectName conventions

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: