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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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 Lewis Ship
              Reporter:
              hlship Howard Lewis Ship

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment