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

Modal dialogs are added to modalDialogs field several times

XMLWordPrintable

    • b07
    • generic, x86
    • generic, windows_xp
    • Verified

        Any modal dialog is added to the 'modalDialogs' static field of java.awt.Dialog class in modalShow() method. However, this method is called not only the dialog is really shown, but also when it is unblocked by another modal dialog. This leads to the situation when the dialog is added to the list of modal dialogs several times and prevents it from being GCed.

        The test that can be used to demostrate the problem is attached.

              art Artem Ananiev (Inactive)
              art Artem Ananiev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: