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

RMIConnector: map value referencing map key in WeakHashMap prevents map entry to be removed

XMLWordPrintable

    • b108
    • generic
    • generic
    • Not verified

        The RMIConnector class defines a WeakHashMap that keeps an MBeanServerConnection
        per delegation subject. The problem is that the MBeanServerConnection internally
        holds a reference to the delegation subject, i.e. the WeakHashMap key, thus preventing
        a given entry to be removed unless both the delegation subject and MBeanServerConnection
        instances get nulled.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: