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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              hlship Howard M. Lewis Ship
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: