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

REGRESSION: Bad usage of SnapshotMBeanServerConnection in MBeans tab and JConsole plugins.

XMLWordPrintable

    • 6
    • b30
    • generic
    • generic
    • Verified

        There are two issues in the way the SnapshotMBeanServerConnection (introduced in JDK 6) is used within JConsole:

        - JConsole Plugins:

          The call to JConsoleContext.getMBeanServerConnection() should return the original
          MBeanServerConnection but returns the SnapshotMBeanServerConnection.

        - MBeans tab:

          The Attributes are computed by calling getAttributes first and if an error occurs
          then we call getAttribute for each individual attribute in the list.
          The problem comes from the fact that the individual getAttribute calls go through
          the SnapshotMBeanServerConnection that calls again getAttributes internally.

              lmalvent Luis-Miguel Alventosa (Inactive)
              lmalvent Luis-Miguel Alventosa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: