JDK-8141545 : Need a way to filter out the Component's listeners during serialization
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2015-11-05
  • Updated: 2021-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
During component initialization the L&F can setup different client properties, and listeners to the component. This information should not be saved during serialization. the client properties are covered by sun.swing.UIClientPropertyKey, the listeners should be implemented in the similar way.

Otherwise in the jake the serialization fails (including XMLEncoder).
Comments
UIClientPropertyKey was open sourced, the listeners had the similar issue before jigsaw when non-public classes are used.
08-05-2016

Due Date should be up-to-date
04-03-2016

What is a Due Date?
12-02-2016