-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta
-
generic
-
generic
The new serialization scheme tries to serialize DropTargetListeners and
DragSourceListeners owned by DropTargets and DragSources, respectively. These
listeners will only be serialized if they implement Serializable. Unfortunately,
existing applications may include such listeners, but may not have written those
listeners to be serializable in practice. That is, they may contain
non-transient fields of non-Serializable types. In that case, the new
serialization scheme appears to break these existing applications. Although the
bug is fundamentally in the application, this is too big of a backward-
compatibility concern to just dump on developers.
See attachments for test case.
DragSourceListeners owned by DropTargets and DragSources, respectively. These
listeners will only be serialized if they implement Serializable. Unfortunately,
existing applications may include such listeners, but may not have written those
listeners to be serializable in practice. That is, they may contain
non-transient fields of non-Serializable types. In that case, the new
serialization scheme appears to break these existing applications. Although the
bug is fundamentally in the application, this is too big of a backward-
compatibility concern to just dump on developers.
See attachments for test case.
- relates to
-
JDK-6215611 REGRESSION: javax.swing.JFileChooser is not serializable under 1.5.0.
-
- Resolved
-
-
JDK-4522737 javax.swing.JSpinner can only be serialized once
-
- Closed
-