JDK-6768387 : REGRESSION: JTable no longer serializable
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u10,7
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_2.5.1
  • CPU: generic,sparc
  • Submitted: 2008-11-06
  • Updated: 2011-01-19
  • Resolved: 2008-12-03
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.
JDK 6 JDK 7
6u12 b02Fixed 7Fixed
Related Reports
Relates :  
Description
Instances of JTable that use DefaultTableCellRenderer are no longer serializable as of 6u10. The reason is the new field DefaultTableCellHeaderRenderer.emptyIcon, which is set to an instance of the private inner class EmptyIcon. EmptyIcon is not serializable.

This problem was found by a user who returns objects of type JPanel from JMX methods in their application. Invoking the method from JConsole causes the panel to be displayed in a JConsole dialog when the method is invoked. That doesn't work any more if the JPanel contains a JTable.

Comments
EVALUATION This is a regression of #6595814 EmptyIcon should be made serializable
10-11-2008