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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b108
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: