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

Accessibility problem with SampleTree - infinite recursion adding event listener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • None
    • merlin
    • unknown
    • generic

      The SampleTree example Swing application uses an infinite tree model. The Java Accessibility Utilities PropertyChange event listening infrastructure recursively adds PropertyChange listners on all AccessibleContexts of all GUI components, including tree elements. Turning PropertyChange event listening on with SampleTree therefore results in infinite recursion as all tree nodes are expanded and AccessibleContexts are instantiated for them, causing the VM to run out of memory.

            lmonsantsunw Lynn Monsanto (Inactive)
            pkorn Peter Korn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: