Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1136

java.lang.UnsupportedOperationException from UpdateListenerHub when a weak reference is reclaimed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • tapestry-core
    • None

    Description

      UpdateLIstenerHub was changed in 5.2 to use a WeakReference to its listener; however, it uses a CopyOnWriteArrayList under the covers, and an Iterator from that, a Iterator.remove() is unsupported for CopyOnWriteArrayList.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: