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

Prevent sending multiple WINDOW_CLOSED events for already disposed windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b94
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Reported at: http://mail.openjdk.java.net/pipermail/awt-dev/2013-May/004749.html

      > I reported this issue one year ago but seems that it has been removed
      > from the public bug database and is still not fixed so I try now to
      > speak directly with you to see if this really is a bug or not.
      >
      > The problem that I see is that a child window already disposed is
      > re-disposed when the owner frame is disposed, multiplying the
      > WINDOW_CLOSED events.
      >
      > I guess that it could be fixed by testing if the child window is
      > displayable before disposing it in the Window dispose action. (May be
      > better in the dispose method itself).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony Anthony Petrov (Inactive)
                Reporter:
                anthony Anthony Petrov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: