RFR: 6441373: Editing JTable is not Serializable

Sergey Bylokhov serb at openjdk.org
Wed Dec 10 02:39:40 UTC 2025


On Tue, 9 Dec 2025 05:15:05 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>I dont understand what you are trying to say. WHen JTable is serialized, writeObject also tries to serialize inner GenericEditor class (which is by default Serializable) which it fails to do..I dont see any other way of it being serialized..

writeObject only cares about the objects we pass to it, not the static inner classes. The fact that changing the constructor field helps indicates that an instance of the GenericEditor class still exists and is being referenced somewhere.

What is the full stack trace of the exception?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/28627#issuecomment-3635104026


More information about the client-libs-dev mailing list