swingx
  1. swingx
  2. SWINGX-1413

BoundAction listeners and callbacks cause serialization issues

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3
    • Component/s: Action
    • Labels:
      None

      Description

      BoundAction is not properly serializable. The EventListenerList may contain unserializable listeners, such as those from registerCallback. We need to properly serialize the listeners, including the callbacks.

        Activity

        Hide
        Karl Schaefer added a comment -

        SWINGX-1413: Added serialization support methods. Added tests to confirm behavior.

        swingx-core/src/main/java/org/jdesktop/swingx/action/BoundAction.java
        swingx-core/src/test/java/org/jdesktop/swingx/action/BoundActionTest.java

        Committed revision 3952.

        Show
        Karl Schaefer added a comment - SWINGX-1413 : Added serialization support methods. Added tests to confirm behavior. swingx-core/src/main/java/org/jdesktop/swingx/action/BoundAction.java swingx-core/src/test/java/org/jdesktop/swingx/action/BoundActionTest.java Committed revision 3952.

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            Karl Schaefer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: