[SWINGX-1413] BoundAction listeners and callbacks cause serialization issues Created: 15/Mar/11  Updated: 15/Mar/11  Resolved: 15/Mar/11

Status: Resolved
Project: swingx
Component/s: Action
Affects Version/s: 1.6.2
Fix Version/s: 1.6.3

Type: Bug Priority: Major
Reporter: Karl Schaefer Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: serialization

 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.



 Comments   
Comment by Karl Schaefer [ 15/Mar/11 ]

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.

Generated at Thu Sep 29 20:18:11 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.