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

WeakReference leak in Window.ownedWindowList

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b48
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        There is a leak in the list of owned child windows for every window. Run the attached test and check output: test prints two counters, one for weak reference with null value, and another is for not-null value. It's clear that target objects (child windows) are properly destroyed, however the corresponding weak refereces are never removed from ownedWindowList.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                art Artem Ananiev
                Reporter:
                art Artem Ananiev
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: