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

SwingUtilities.sharedOwnerFrame is never disposed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.3.0, 1.4.0, 1.4.1
    • client-libs
    • None
    • tiger
    • x86
    • windows_2000



      Name: apR10133 Date: 05/07/2003


      The peer of SwingUtilities.sharedOwnerFrame instance was created by call
      to Window.addNotify(or pack()). This instance lies in static variable of
      SwingUtilities and is never been disposed of. Because AWTAutoShutdown sees
      that there is alive peer exists it doesn't shut AWT down. This causes the
      memory leak in some applications, also it causes Frames and Dialogs to
      keep the JVM from exiting once all the frames are closed and disposed
      (see bug 4726458).

      ======================================================================

            apikalev Andrey Pikalev
            apikalev Andrey Pikalev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: