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

TextInputControlBehavior.lastEvent leaks memory

    XMLWordPrintable

Details

    Description

      When using TextFields on Popups, KeyEvents will not only target the focused TextField on the Popup, but the final event target is the focused UI control on the main window. Because TextInputControlBehavior.lastEvent holds on to the last received KeyEvent, the TextField will keep the currently focused UI control on the main window in memory.

      This bug occurs on Java 7 (jdk1.7.0_72 win x64), but not on Java 8 (jdk1.8.0_40-ea win x64).

      Attachments

        Activity

          People

            alexp Alexander Potochkin (Inactive)
            dwagelaarjfx Dennis Wagelaar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: