RFR: 6441373: Editing JTable is not Serializable
Sergey Bylokhov
serb at openjdk.org
Tue Dec 9 03:55:56 UTC 2025
On Tue, 9 Dec 2025 03:47:20 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> GenericEditor extends DefaultCellEditor which extends AbstractCellEditor which is Serializable so I guess by default that class becomes Serializable but in JTable other things are pointing to the fact editing should not be serialized so we have made the field in GenericEditor transient.
It is not serialized by "default", it is only serialized if it is referenced from somewhere. In our case, it is referenced from somewhere inside JTable, which we tried to serialize.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28627#issuecomment-3630136727
More information about the client-libs-dev
mailing list