WindowsDesktopManager mantains a strong reference to currentFrame

XMLWordPrintable

    • b86
    • generic, x86
    • generic, windows_nt, windows_2000

      Potential memory leak submitted from a customer.

      This class (in an effort to self-reportedly enforce MDI
      single-selection model) inadvertantly holds on to a strong reference to the
      currentFrame.

      The WindowsDesktopManager overrides the DefaultDesktopManager
      activateFrame(JInternalFrame) method, but does not override the
      deactivateFrame(JInternalFrame) or closeFrame(JInternalFrame)
      methods to unassociate that strong reference.

      Also, the package private JInternalFrame initialFrame is no longer used
      and can probably be removed.

            Assignee:
            Mike Bronson (Inactive)
            Reporter:
            Mark Davidson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: